#CDC07A#CDC07A
#CDC07A is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.091 H 99.0°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC07A |
|---|---|
| RGB | rgb(205, 192, 122) |
| HSL | hsl(51, 45%, 64%) |
| HSV | hsv(51, 40%, 80%) |
| CMYK | cmyk(0%, 6.3%, 40.5%, 19.6%) |
| CIE-LAB | lab(77.33, -5.39, 36.90) |
| CIE-LCH | lch(77.33, 37.30, 98.32°) |
| OKLab | oklab(80.27% -0.0143 0.0902) |
| OKLCH | oklch(80.27% 0.091 99) |
| XYZ | xyz(47.5403, 52.0850, 25.9577) |
| Luminance | 0.5208 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.70
Sand (survey)
#E2CA76
ΔE00 4.79
Sand
#C2B280
ΔE00 5.50
Tan (survey)
#D1B26F
ΔE00 6.40
Sandstone
#C9AE74
ΔE00 6.72
Desert
#CCAD60
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC07A #7A87CD
analogous
#CD977A #CDC07A #B1CD7A
triadic
#CDC07A #7ACDC0 #C07ACD
tetradic
#CDC07A #7ACD97 #7A87CD #CD7AB1
square
#CDC07A #7ACD97 #7A87CD #CD7AB1
split-complementary
#CDC07A #7AB1CD #977ACD
monochromatic
#958638 #BCAB4E #CDC07A #DED5A6 #EEEAD3
Accessibility & contrast
On white
1.84
#CDC07A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.42
#CDC07A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC07A
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC07A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC07A | 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)
#CDBC75
Deuteranopia (green-blind)
#D0C17D
Tritanopia (blue-blind)
#D9B7AF
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc07a; /* rgb */ color: rgb(205, 192, 122); /* oklch */ color: oklch(80.3% 0.091 99.0);
Tailwind
colors: {
custom: {
50: '#ddd2a1',
500: '#cdc07a',
950: '#000000',
},
}SCSS
$custom: #cdc07a; $custom-light: #ddd2a1; $custom-dark: #000000;
JSON
{
"hex": "#cdc07a",
"rgb": {
"r": 205,
"g": 192,
"b": 122
},
"hsl": {
"h": 50.602,
"s": 45.355,
"l": 64.118
},
"oklch": {
"l": 0.80272,
"c": 0.0913,
"h": 99
},
"luminance": 0.52084
}Semantic roles & 50–950 ramp
primary
#CDC07A
secondary
#505C9B
accent
#43B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380