#CDC07C#CDC07C
#CDC07C is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.089 H 98.7°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC07C |
|---|---|
| RGB | rgb(205, 192, 124) |
| HSL | hsl(50, 45%, 65%) |
| HSV | hsv(50, 40%, 80%) |
| CMYK | cmyk(0%, 6.3%, 39.5%, 19.6%) |
| CIE-LAB | lab(77.36, -5.18, 35.91) |
| CIE-LCH | lch(77.36, 36.29, 98.20°) |
| OKLab | oklab(80.31% -0.0135 0.088) |
| OKLCH | oklch(80.31% 0.089 98.7) |
| XYZ | xyz(47.6655, 52.1351, 26.6171) |
| Luminance | 0.5213 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.86
Sand (survey)
#E2CA76
ΔE00 4.96
Sand
#C2B280
ΔE00 5.23
Tan (survey)
#D1B26F
ΔE00 6.34
Sandstone
#C9AE74
ΔE00 6.58
Desert
#CCAD60
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC07C #7C89CD
analogous
#CD987C #CDC07C #B2CD7C
triadic
#CDC07C #7CCDC0 #C07CCD
tetradic
#CDC07C #7CCD98 #7C89CD #CD7CB2
square
#CDC07C #7CCD98 #7C89CD #CD7CB2
split-complementary
#CDC07C #7CB2CD #987CCD
monochromatic
#968739 #BCAB50 #CDC07C #DED5A8 #EFEBD5
Accessibility & contrast
On white
1.84
#CDC07C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.43
#CDC07C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC07C
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC07C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC07C | 1.00 | 1.84 | 11.43 | 11.43 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBC77
Deuteranopia (green-blind)
#D0C17F
Tritanopia (blue-blind)
#D8B7AF
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc07c; /* rgb */ color: rgb(205, 192, 124); /* oklch */ color: oklch(80.3% 0.089 98.7);
Tailwind
colors: {
custom: {
50: '#ddd2a3',
500: '#cdc07c',
950: '#000000',
},
}SCSS
$custom: #cdc07c; $custom-light: #ddd2a3; $custom-dark: #000000;
JSON
{
"hex": "#cdc07c",
"rgb": {
"r": 205,
"g": 192,
"b": 124
},
"hsl": {
"h": 50.37,
"s": 44.751,
"l": 64.51
},
"oklch": {
"l": 0.80306,
"c": 0.08903,
"h": 98.7
},
"luminance": 0.52134
}Semantic roles & 50–950 ramp
primary
#CDC07C
secondary
#515D9C
accent
#44B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380