#CDC08F#CDC08F
#CDC08F is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.7% C 0.067 H 95.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC08F |
|---|---|
| RGB | rgb(205, 192, 143) |
| HSL | hsl(47, 38%, 68%) |
| HSV | hsv(47, 30%, 80%) |
| CMYK | cmyk(0%, 6.3%, 30.2%, 19.6%) |
| CIE-LAB | lab(77.68, -2.90, 26.40) |
| CIE-LCH | lch(77.68, 26.56, 96.26°) |
| OKLab | oklab(80.66% -0.0058 0.0663) |
| OKLCH | oklch(80.66% 0.067 95) |
| XYZ | xyz(48.9849, 52.6628, 33.5658) |
| Luminance | 0.5266 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 3.74
Very Light Brown
#D3B683
ΔE00 5.72
Putty
#BEAE8A
ΔE00 5.92
Beige (survey)
#E6DAA6
ΔE00 6.26
Sandstone
#C9AE74
ΔE00 6.37
Darkkhaki
#BDB76B
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC08F #8F9CCD
analogous
#CDA18F #CDC08F #BBCD8F
triadic
#CDC08F #8FCDC0 #C08FCD
tetradic
#CDC08F #8FCDA1 #8F9CCD #CD8FBB
square
#CDC08F #8FCDA1 #8F9CCD #CD8FBB
split-complementary
#CDC08F #8FBBCD #A18FCD
monochromatic
#9C8A46 #BAA865 #CDC08F #E0D8B9 #F3F0E4
Accessibility & contrast
On white
1.82
#CDC08F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#CDC08F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC08F
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC08F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC08F | 1.00 | 1.82 | 11.53 | 11.53 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CABD8C
Deuteranopia (green-blind)
#CEC291
Tritanopia (blue-blind)
#D7B9B3
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc08f; /* rgb */ color: rgb(205, 192, 143); /* oklch */ color: oklch(80.7% 0.067 95.0);
Tailwind
colors: {
custom: {
50: '#ddd2b0',
500: '#cdc08f',
950: '#000000',
},
}SCSS
$custom: #cdc08f; $custom-light: #ddd2b0; $custom-dark: #000000;
JSON
{
"hex": "#cdc08f",
"rgb": {
"r": 205,
"g": 192,
"b": 143
},
"hsl": {
"h": 47.419,
"s": 38.272,
"l": 68.235
},
"oklch": {
"l": 0.80657,
"c": 0.06659,
"h": 95
},
"luminance": 0.52662
}Semantic roles & 50–950 ramp
primary
#CDC08F
secondary
#5E6CA2
accent
#4EB134
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381