#CEB81F

#ceb81f ≈ Old Gold

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#ceb81f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.78% red, 72.16% green and 12.16% blue; printed in CMYK it uses 0% cyan, 10.68% magenta, 84.95% yellow and 19.22% black. Its hue angle is 52.46°, with 73.84% saturation and 46.47% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 10.5:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.76.

Description generated from the measured properties of this color.

Conversions of #ceb81f into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.475

Readable text 2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b7b7b7 ≈ 0.003% of males
Achromatomaly #c1b893 ≈ 0.001% of males
Protanopia #cbb300 ≈ 1.01% of males
Deuteranopia #d1bb2d ≈ 1.27% of males
Tritanopia #dfaa9d ≈ 0.0001% of males
Protanomaly #ccb500 ≈ 1.08% of males
Deuteranomaly #d0ba28 ≈ 4.63% of males
Tritanomaly #d8b07e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ceb81f {
  color: #ceb81f;
}
Background
.bg-ceb81f {
  background-color: #ceb81f;
  color: #000000;
}
Border
.border-ceb81f {
  border: 2px solid #ceb81f;
}
CSS variables
:root {
  --color-primary: #ceb81f;
  --color-primary-rgb: 206 184 31;
  --color-primary-hsl: 52 74% 46%;
}
Gradient
.gradient-ceb81f {
  background: linear-gradient(135deg, #ceb81f, #8cce1f);
}
Colored shadow
.shadow-ceb81f {
  box-shadow: 0 8px 24px rgb(206 184 31 / 0.35);
}

Old Gold
#ceb81f  rgb(206, 184, 31)  hsl(52, 74%, 46%)  Old Gold
#1f35ce  rgb(31, 53, 206)  hsl(232, 74%, 46%)  Persian Blue
#1fceb8  rgb(31, 206, 184)  hsl(172, 74%, 46%)  Turquoise
#b81fce  rgb(184, 31, 206)  hsl(292, 74%, 46%)  Dark Orchid