#CDC08D#CDC08D
#CDC08D is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.069 H 95.5°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC08D |
|---|---|
| RGB | rgb(205, 192, 141) |
| HSL | hsl(48, 39%, 68%) |
| HSV | hsv(48, 31%, 80%) |
| CMYK | cmyk(0%, 6.3%, 31.2%, 19.6%) |
| CIE-LAB | lab(77.64, -3.15, 27.41) |
| CIE-LCH | lch(77.64, 27.59, 96.56°) |
| OKLab | oklab(80.62% -0.0066 0.0687) |
| OKLCH | oklch(80.62% 0.069 95.5) |
| XYZ | xyz(48.8347, 52.6028, 32.7750) |
| Luminance | 0.5260 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 3.73
Very Light Brown
#D3B683
ΔE00 5.77
Putty
#BEAE8A
ΔE00 6.20
Beige (survey)
#E6DAA6
ΔE00 6.26
Sandstone
#C9AE74
ΔE00 6.27
Darkkhaki
#BDB76B
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC08D #8D9ACD
analogous
#CDA08D #CDC08D #BACD8D
triadic
#CDC08D #8DCDC0 #C08DCD
tetradic
#CDC08D #8DCDA0 #8D9ACD #CD8DBA
square
#CDC08D #8DCDA0 #8D9ACD #CD8DBA
split-complementary
#CDC08D #8DBACD #A08DCD
monochromatic
#9B8A44 #BAA862 #CDC08D #E0D8B8 #F2EFE2
Accessibility & contrast
On white
1.82
#CDC08D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.52
#CDC08D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC08D
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC08D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC08D | 1.00 | 1.82 | 11.52 | 11.52 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CABD8A
Deuteranopia (green-blind)
#CEC28F
Tritanopia (blue-blind)
#D7B8B3
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc08d; /* rgb */ color: rgb(205, 192, 141); /* oklch */ color: oklch(80.6% 0.069 95.5);
Tailwind
colors: {
custom: {
50: '#ddd2ae',
500: '#cdc08d',
950: '#000000',
},
}SCSS
$custom: #cdc08d; $custom-light: #ddd2ae; $custom-dark: #000000;
JSON
{
"hex": "#cdc08d",
"rgb": {
"r": 205,
"g": 192,
"b": 141
},
"hsl": {
"h": 47.812,
"s": 39.024,
"l": 67.843
},
"oklch": {
"l": 0.80617,
"c": 0.06902,
"h": 95.5
},
"luminance": 0.52601
}Semantic roles & 50–950 ramp
primary
#CDC08D
secondary
#5C6AA2
accent
#4DB233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381