#CDC186#CDC186
#CDC186 is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.7% C 0.078 H 98.1°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC186 |
|---|---|
| RGB | rgb(205, 193, 134) |
| HSL | hsl(50, 42%, 66%) |
| HSV | hsv(50, 35%, 80%) |
| CMYK | cmyk(0%, 5.9%, 34.6%, 19.6%) |
| CIE-LAB | lab(77.78, -4.54, 31.27) |
| CIE-LCH | lch(77.78, 31.60, 98.26°) |
| OKLab | oklab(80.69% -0.011 0.0776) |
| OKLCH | oklch(80.69% 0.078 98.1) |
| XYZ | xyz(48.5506, 52.8416, 30.1916) |
| Luminance | 0.5284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.44
Darkkhaki
#BDB76B
ΔE00 5.01
Sand (survey)
#E2CA76
ΔE00 6.08
Beige (survey)
#E6DAA6
ΔE00 6.40
Sandstone
#C9AE74
ΔE00 6.56
Very Light Brown
#D3B683
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC186 #8692CD
analogous
#CD9E86 #CDC186 #B6CD86
triadic
#CDC186 #86CDC1 #C186CD
tetradic
#CDC186 #86CD9E #8692CD #CD86B6
square
#CDC186 #86CD9E #8692CD #CD86B6
split-complementary
#CDC186 #86B6CD #9E86CD
monochromatic
#998A3F #BBAB5B #CDC186 #DFD7B1 #F1EDDD
Accessibility & contrast
On white
1.82
#CDC186 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.57
#CDC186 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC186
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC186 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC186 | 1.00 | 1.82 | 11.57 | 11.57 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBE82
Deuteranopia (green-blind)
#D0C288
Tritanopia (blue-blind)
#D7B9B2
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc186; /* rgb */ color: rgb(205, 193, 134); /* oklch */ color: oklch(80.7% 0.078 98.1);
Tailwind
colors: {
custom: {
50: '#ddd3aa',
500: '#cdc186',
950: '#000000',
},
}SCSS
$custom: #cdc186; $custom-light: #ddd3aa; $custom-dark: #000000;
JSON
{
"hex": "#cdc186",
"rgb": {
"r": 205,
"g": 193,
"b": 134
},
"hsl": {
"h": 49.859,
"s": 41.52,
"l": 66.471
},
"oklch": {
"l": 0.80689,
"c": 0.0784,
"h": 98.1
},
"luminance": 0.5284
}Semantic roles & 50–950 ramp
primary
#CDC186
secondary
#5864A0
accent
#47B531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380