#CDC072#CDC072
#CDC072 is a light, moderate yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.100 H 100.0°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC072 |
|---|---|
| RGB | rgb(205, 192, 114) |
| HSL | hsl(51, 48%, 63%) |
| HSV | hsv(51, 44%, 80%) |
| CMYK | cmyk(0%, 6.3%, 44.4%, 19.6%) |
| CIE-LAB | lab(77.22, -6.23, 40.83) |
| CIE-LCH | lch(77.22, 41.30, 98.68°) |
| OKLab | oklab(80.15% -0.0174 0.0986) |
| OKLCH | oklch(80.15% 0.1 100) |
| XYZ | xyz(47.0649, 51.8948, 23.4538) |
| Luminance | 0.5189 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.42
Sand (survey)
#E2CA76
ΔE00 4.41
Sand
#C2B280
ΔE00 6.62
Greenish Beige
#C9D179
ΔE00 6.70
Tan (survey)
#D1B26F
ΔE00 6.79
Desert
#CCAD60
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC072 #727FCD
analogous
#CD9372 #CDC072 #ACCD72
triadic
#CDC072 #72CDC0 #C072CD
tetradic
#CDC072 #72CD93 #727FCD #CD72AC
square
#CDC072 #72CD93 #727FCD #CD72AC
split-complementary
#CDC072 #72ACCD #9372CD
monochromatic
#918433 #BDAC45 #CDC072 #DDD49F #EDE8CC
Accessibility & contrast
On white
1.85
#CDC072 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.38
#CDC072 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC072
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC072 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC072 | 1.00 | 1.85 | 11.38 | 11.38 |
| #FFFFFF | 1.85 | 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)
#CDBC6C
Deuteranopia (green-blind)
#D1C175
Tritanopia (blue-blind)
#D9B6AD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc072; /* rgb */ color: rgb(205, 192, 114); /* oklch */ color: oklch(80.1% 0.100 100.0);
Tailwind
colors: {
custom: {
50: '#ded29c',
500: '#cdc072',
950: '#000000',
},
}SCSS
$custom: #cdc072; $custom-light: #ded29c; $custom-dark: #000000;
JSON
{
"hex": "#cdc072",
"rgb": {
"r": 205,
"g": 192,
"b": 114
},
"hsl": {
"h": 51.429,
"s": 47.644,
"l": 62.549
},
"oklch": {
"l": 0.80145,
"c": 0.10015,
"h": 100
},
"luminance": 0.51893
}Semantic roles & 50–950 ramp
primary
#CDC072
secondary
#4C5797
accent
#3FBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F