#CDC073#CDC073
#CDC073 is a light, moderate yellow. Relative luminance 0.519; OKLCH L 80.2% C 0.099 H 99.9°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC073 |
|---|---|
| RGB | rgb(205, 192, 115) |
| HSL | hsl(51, 47%, 63%) |
| HSV | hsv(51, 44%, 80%) |
| CMYK | cmyk(0%, 6.3%, 43.9%, 19.6%) |
| CIE-LAB | lab(77.23, -6.13, 40.34) |
| CIE-LCH | lch(77.23, 40.81, 98.64°) |
| OKLab | oklab(80.16% -0.017 0.0976) |
| OKLCH | oklch(80.16% 0.099 99.9) |
| XYZ | xyz(47.1221, 51.9177, 23.7552) |
| Luminance | 0.5192 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.42
Sand (survey)
#E2CA76
ΔE00 4.43
Sand
#C2B280
ΔE00 6.48
Tan (survey)
#D1B26F
ΔE00 6.73
Greenish Beige
#C9D179
ΔE00 6.73
Desert
#CCAD60
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC073 #7380CD
analogous
#CD9373 #CDC073 #ADCD73
triadic
#CDC073 #73CDC0 #C073CD
tetradic
#CDC073 #73CD93 #7380CD #CD73AD
square
#CDC073 #73CD93 #7380CD #CD73AD
split-complementary
#CDC073 #73ADCD #9373CD
monochromatic
#928434 #BDAC46 #CDC073 #DDD4A0 #EDE9CD
Accessibility & contrast
On white
1.84
#CDC073 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.38
#CDC073 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC073
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC073 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC073 | 1.00 | 1.84 | 11.38 | 11.38 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBC6D
Deuteranopia (green-blind)
#D1C176
Tritanopia (blue-blind)
#D9B6AD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc073; /* rgb */ color: rgb(205, 192, 115); /* oklch */ color: oklch(80.2% 0.099 99.9);
Tailwind
colors: {
custom: {
50: '#ded29c',
500: '#cdc073',
950: '#000000',
},
}SCSS
$custom: #cdc073; $custom-light: #ded29c; $custom-dark: #000000;
JSON
{
"hex": "#cdc073",
"rgb": {
"r": 205,
"g": 192,
"b": 115
},
"hsl": {
"h": 51.333,
"s": 47.368,
"l": 62.745
},
"oklch": {
"l": 0.80161,
"c": 0.09906,
"h": 99.9
},
"luminance": 0.51916
}Semantic roles & 50–950 ramp
primary
#CDC073
secondary
#4C5798
accent
#40BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F