#CEAF42#CEAF42
#CEAF42 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.130 H 93.0°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CEAF42 |
|---|---|
| RGB | rgb(206, 175, 66) |
| HSL | hsl(47, 59%, 53%) |
| HSV | hsv(47, 68%, 81%) |
| CMYK | cmyk(0%, 15%, 68%, 19.2%) |
| CIE-LAB | lab(72.35, -0.67, 57.84) |
| CIE-LCH | lch(72.35, 57.84, 90.66°) |
| OKLab | oklab(76.15% -0.0068 0.1301) |
| OKLCH | oklch(76.15% 0.13 93) |
| XYZ | xyz(41.7691, 44.1774, 11.4802) |
| Luminance | 0.4417 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.57
Burnt Yellow
#D5AB09
ΔE00 4.47
Brownish Yellow
#C9B003
ΔE00 4.73
Desert
#CCAD60
ΔE00 4.73
Gold (survey)
#DBB40C
ΔE00 4.83
Mustard (survey)
#CEB301
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CEAF42 #4261CE
analogous
#CE6942 #CEAF42 #A7CE42
triadic
#CEAF42 #42CEAF #AF42CE
tetradic
#CEAF42 #42CE69 #4261CE #CE42A7
square
#CEAF42 #42CE69 #4261CE #CE42A7
split-complementary
#CEAF42 #42A7CE #6942CE
monochromatic
#77631F #A78C2B #CEAF42 #DBC473 #E7D8A3
Accessibility & contrast
On white
2.14
#CEAF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#CEAF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CEAF42
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CEAF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CEAF42 | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC34
Deuteranopia (green-blind)
#C9B547
Tritanopia (blue-blind)
#DEA198
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ceaf42; /* rgb */ color: rgb(206, 175, 66); /* oklch */ color: oklch(76.1% 0.130 93.0);
Tailwind
colors: {
custom: {
50: '#e1c67c',
500: '#ceaf42',
950: '#000000',
},
}SCSS
$custom: #ceaf42; $custom-light: #e1c67c; $custom-dark: #000000;
JSON
{
"hex": "#ceaf42",
"rgb": {
"r": 206,
"g": 175,
"b": 66
},
"hsl": {
"h": 46.714,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.76146,
"c": 0.13032,
"h": 93
},
"luminance": 0.44175
}Semantic roles & 50–950 ramp
primary
#CEAF42
secondary
#98A5D4
accent
#68E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C