#CEC186#CEC186
#CEC186 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.8% C 0.079 H 97.2°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #CEC186 |
|---|---|
| RGB | rgb(206, 193, 134) |
| HSL | hsl(49, 42%, 67%) |
| HSV | hsv(49, 35%, 81%) |
| CMYK | cmyk(0%, 6.3%, 35%, 19.2%) |
| CIE-LAB | lab(77.87, -4.15, 31.40) |
| CIE-LCH | lch(77.87, 31.67, 97.52°) |
| OKLab | oklab(80.78% -0.0099 0.0779) |
| OKLCH | oklch(80.78% 0.079 97.2) |
| XYZ | xyz(48.8274, 52.9843, 30.2045) |
| Luminance | 0.5298 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.38
Darkkhaki
#BDB76B
ΔE00 5.17
Sand (survey)
#E2CA76
ΔE00 5.90
Very Light Brown
#D3B683
ΔE00 6.32
Beige (survey)
#E6DAA6
ΔE00 6.35
Sandstone
#C9AE74
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CEC186 #8693CE
analogous
#CE9D86 #CEC186 #B7CE86
triadic
#CEC186 #86CEC1 #C186CE
tetradic
#CEC186 #86CE9D #8693CE #CE86B7
square
#CEC186 #86CE9D #8693CE #CE86B7
split-complementary
#CEC186 #86B7CE #9D86CE
monochromatic
#9B8A3F #BCAB5A #CEC186 #E0D7B2 #F1EEDD
Accessibility & contrast
On white
1.81
#CEC186 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.60
#CEC186 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CEC186
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CEC186 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CEC186 | 1.00 | 1.81 | 11.60 | 11.60 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBE82
Deuteranopia (green-blind)
#D0C388
Tritanopia (blue-blind)
#D9B9B2
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cec186; /* rgb */ color: rgb(206, 193, 134); /* oklch */ color: oklch(80.8% 0.079 97.2);
Tailwind
colors: {
custom: {
50: '#ded3aa',
500: '#cec186',
950: '#000000',
},
}SCSS
$custom: #cec186; $custom-light: #ded3aa; $custom-dark: #000000;
JSON
{
"hex": "#cec186",
"rgb": {
"r": 206,
"g": 193,
"b": 134
},
"hsl": {
"h": 49.167,
"s": 42.353,
"l": 66.667
},
"oklch": {
"l": 0.80776,
"c": 0.07854,
"h": 97.2
},
"luminance": 0.52983
}Semantic roles & 50–950 ramp
primary
#CEC186
secondary
#5765A1
accent
#48B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380