#CDC07B#CDC07B
#CDC07B is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.090 H 98.9°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC07B |
|---|---|
| RGB | rgb(205, 192, 123) |
| HSL | hsl(50, 45%, 64%) |
| HSV | hsv(50, 40%, 80%) |
| CMYK | cmyk(0%, 6.3%, 40%, 19.6%) |
| CIE-LAB | lab(77.35, -5.29, 36.41) |
| CIE-LCH | lch(77.35, 36.79, 98.26°) |
| OKLab | oklab(80.29% -0.0139 0.0891) |
| OKLCH | oklch(80.29% 0.09 98.9) |
| XYZ | xyz(47.6026, 52.1099, 26.2857) |
| Luminance | 0.5211 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.78
Sand (survey)
#E2CA76
ΔE00 4.87
Sand
#C2B280
ΔE00 5.37
Tan (survey)
#D1B26F
ΔE00 6.37
Sandstone
#C9AE74
ΔE00 6.65
Desert
#CCAD60
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC07B #7B88CD
analogous
#CD977B #CDC07B #B1CD7B
triadic
#CDC07B #7BCDC0 #C07BCD
tetradic
#CDC07B #7BCD97 #7B88CD #CD7BB1
square
#CDC07B #7BCD97 #7B88CD #CD7BB1
split-complementary
#CDC07B #7BB1CD #977BCD
monochromatic
#958638 #BCAB4F #CDC07B #DED5A7 #EFEAD4
Accessibility & contrast
On white
1.84
#CDC07B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.42
#CDC07B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC07B
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC07B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC07B | 1.00 | 1.84 | 11.42 | 11.42 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBC76
Deuteranopia (green-blind)
#D0C17E
Tritanopia (blue-blind)
#D9B7AF
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc07b; /* rgb */ color: rgb(205, 192, 123); /* oklch */ color: oklch(80.3% 0.090 98.9);
Tailwind
colors: {
custom: {
50: '#ddd2a2',
500: '#cdc07b',
950: '#000000',
},
}SCSS
$custom: #cdc07b; $custom-light: #ddd2a2; $custom-dark: #000000;
JSON
{
"hex": "#cdc07b",
"rgb": {
"r": 205,
"g": 192,
"b": 123
},
"hsl": {
"h": 50.488,
"s": 45.055,
"l": 64.314
},
"oklch": {
"l": 0.80289,
"c": 0.09017,
"h": 98.9
},
"luminance": 0.52108
}Semantic roles & 50–950 ramp
primary
#CDC07B
secondary
#515D9B
accent
#43B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380