#CDC08A#CDC08A
#CDC08A is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.6% C 0.073 H 96.2°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC08A |
|---|---|
| RGB | rgb(205, 192, 138) |
| HSL | hsl(48, 40%, 67%) |
| HSV | hsv(48, 33%, 80%) |
| CMYK | cmyk(0%, 6.3%, 32.7%, 19.6%) |
| CIE-LAB | lab(77.59, -3.53, 28.92) |
| CIE-LCH | lch(77.59, 29.14, 96.96°) |
| OKLab | oklab(80.56% -0.0079 0.0722) |
| OKLCH | oklch(80.56% 0.073 96.2) |
| XYZ | xyz(48.6145, 52.5147, 31.6153) |
| Luminance | 0.5251 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 3.80
Darkkhaki
#BDB76B
ΔE00 5.88
Very Light Brown
#D3B683
ΔE00 5.90
Sandstone
#C9AE74
ΔE00 6.18
Beige (survey)
#E6DAA6
ΔE00 6.33
Tan (survey)
#D1B26F
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC08A #8A97CD
analogous
#CD9E8A #CDC08A #B9CD8A
triadic
#CDC08A #8ACDC0 #C08ACD
tetradic
#CDC08A #8ACD9E #8A97CD #CD8AB9
square
#CDC08A #8ACD9E #8A97CD #CD8AB9
split-complementary
#CDC08A #8AB9CD #9E8ACD
monochromatic
#9B8942 #BBA95F #CDC08A #DFD7B5 #F2EEE0
Accessibility & contrast
On white
1.83
#CDC08A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.50
#CDC08A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC08A
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC08A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC08A | 1.00 | 1.83 | 11.50 | 11.50 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBBD86
Deuteranopia (green-blind)
#CEC28C
Tritanopia (blue-blind)
#D7B8B2
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc08a; /* rgb */ color: rgb(205, 192, 138); /* oklch */ color: oklch(80.6% 0.073 96.2);
Tailwind
colors: {
custom: {
50: '#ddd2ac',
500: '#cdc08a',
950: '#000000',
},
}SCSS
$custom: #cdc08a; $custom-light: #ddd2ac; $custom-dark: #000000;
JSON
{
"hex": "#cdc08a",
"rgb": {
"r": 205,
"g": 192,
"b": 138
},
"hsl": {
"h": 48.358,
"s": 40.12,
"l": 67.255
},
"oklch": {
"l": 0.80558,
"c": 0.07264,
"h": 96.2
},
"luminance": 0.52513
}Semantic roles & 50–950 ramp
primary
#CDC08A
secondary
#5A68A1
accent
#4BB332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381