#CEC472#CEC472
#CEC472 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.104 H 102.3°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CEC472 |
|---|---|
| RGB | rgb(206, 196, 114) |
| HSL | hsl(53, 48%, 63%) |
| HSV | hsv(53, 45%, 81%) |
| CMYK | cmyk(0%, 4.9%, 44.7%, 19.2%) |
| CIE-LAB | lab(78.36, -7.89, 42.27) |
| CIE-LCH | lch(78.36, 43.00, 100.58°) |
| OKLab | oklab(81.07% -0.0222 0.1018) |
| OKLCH | oklch(81.07% 0.104 102.3) |
| XYZ | xyz(48.2319, 53.8180, 23.7635) |
| Luminance | 0.5382 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.86
Sand (survey)
#E2CA76
ΔE00 4.59
Greenish Beige
#C9D179
ΔE00 5.43
Greenish Tan
#BCCB7A
ΔE00 6.84
Sandy
#F1DA7A
ΔE00 7.03
Sand
#C2B280
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CEC472 #727CCE
analogous
#CE9672 #CEC472 #AACE72
triadic
#CEC472 #72CEC4 #C472CE
tetradic
#CEC472 #72CE96 #727CCE #CE72AA
square
#CEC472 #72CE96 #727CCE #CE72AA
split-complementary
#CEC472 #72AACE #9672CE
monochromatic
#938833 #BEB145 #CEC472 #DED79F #EEEACD
Accessibility & contrast
On white
1.79
#CEC472 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.76
#CEC472 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CEC472
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CEC472 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CEC472 | 1.00 | 1.79 | 11.76 | 11.76 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BF6B
Deuteranopia (green-blind)
#D5C475
Tritanopia (blue-blind)
#DABAB0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cec472; /* rgb */ color: rgb(206, 196, 114); /* oklch */ color: oklch(81.1% 0.104 102.3);
Tailwind
colors: {
custom: {
50: '#ded59c',
500: '#cec472',
950: '#000000',
},
}SCSS
$custom: #cec472; $custom-light: #ded59c; $custom-dark: #000000;
JSON
{
"hex": "#cec472",
"rgb": {
"r": 206,
"g": 196,
"b": 114
},
"hsl": {
"h": 53.478,
"s": 48.421,
"l": 62.745
},
"oklch": {
"l": 0.81067,
"c": 0.10424,
"h": 102.3
},
"luminance": 0.53817
}Semantic roles & 50–950 ramp
primary
#CEC472
secondary
#4B5499
accent
#3ABC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F