#CEC38F#CEC38F
#CEC38F is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.070 H 97.6°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CEC38F |
|---|---|
| RGB | rgb(206, 195, 143) |
| HSL | hsl(50, 39%, 68%) |
| HSV | hsv(50, 31%, 81%) |
| CMYK | cmyk(0%, 5.3%, 30.6%, 19.2%) |
| CIE-LAB | lab(78.54, -4.07, 27.58) |
| CIE-LCH | lch(78.54, 27.88, 98.40°) |
| OKLab | oklab(81.36% -0.0092 0.0692) |
| OKLCH | oklch(81.36% 0.07 97.6) |
| XYZ | xyz(49.9271, 54.1364, 33.8006) |
| Luminance | 0.5413 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.60
Beige (survey)
#E6DAA6
ΔE00 5.61
Darkkhaki
#BDB76B
ΔE00 6.42
Very Light Brown
#D3B683
ΔE00 6.67
Putty
#BEAE8A
ΔE00 7.06
Sandstone
#C9AE74
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CEC38F #8F9ACE
analogous
#CEA38F #CEC38F #B9CE8F
triadic
#CEC38F #8FCEC3 #C38FCE
tetradic
#CEC38F #8FCEA3 #8F9ACE #CE8FB9
square
#CEC38F #8FCEA3 #8F9ACE #CE8FB9
split-complementary
#CEC38F #8FB9CE #A38FCE
monochromatic
#9E8E45 #BBAC64 #CEC38F #E1DABA #F3F1E4
Accessibility & contrast
On white
1.78
#CEC38F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.83
#CEC38F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CEC38F
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CEC38F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CEC38F | 1.00 | 1.78 | 11.83 | 11.83 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDC08C
Deuteranopia (green-blind)
#D0C491
Tritanopia (blue-blind)
#D8BCB5
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cec38f; /* rgb */ color: rgb(206, 195, 143); /* oklch */ color: oklch(81.4% 0.070 97.6);
Tailwind
colors: {
custom: {
50: '#ddd5b0',
500: '#cec38f',
950: '#000000',
},
}SCSS
$custom: #cec38f; $custom-light: #ddd5b0; $custom-dark: #000000;
JSON
{
"hex": "#cec38f",
"rgb": {
"r": 206,
"g": 195,
"b": 143
},
"hsl": {
"h": 49.524,
"s": 39.13,
"l": 68.431
},
"oklch": {
"l": 0.8136,
"c": 0.06976,
"h": 97.6
},
"luminance": 0.54135
}Semantic roles & 50–950 ramp
primary
#CEC38F
secondary
#5E6AA3
accent
#4AB233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381