#CDC472#CDC472
#CDC472 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.104 H 102.9°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC472 |
|---|---|
| RGB | rgb(205, 196, 114) |
| HSL | hsl(54, 48%, 63%) |
| HSV | hsv(54, 44%, 80%) |
| CMYK | cmyk(0%, 4.4%, 44.4%, 19.6%) |
| CIE-LAB | lab(78.27, -8.30, 42.14) |
| CIE-LCH | lch(78.27, 42.95, 101.14°) |
| OKLab | oklab(80.98% -0.0233 0.1016) |
| OKLCH | oklch(80.98% 0.104 102.9) |
| XYZ | xyz(47.9551, 53.6753, 23.7506) |
| Luminance | 0.5367 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.73
Sand (survey)
#E2CA76
ΔE00 4.87
Greenish Beige
#C9D179
ΔE00 5.19
Greenish Tan
#BCCB7A
ΔE00 6.56
Sandy
#F1DA7A
ΔE00 7.22
Sand
#C2B280
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC472 #727BCD
analogous
#CD9772 #CDC472 #A8CD72
triadic
#CDC472 #72CDC4 #C472CD
tetradic
#CDC472 #72CD97 #727BCD #CD72A8
square
#CDC472 #72CD97 #727BCD #CD72A8
split-complementary
#CDC472 #72A8CD #9772CD
monochromatic
#918833 #BDB145 #CDC472 #DDD79F #EDEACC
Accessibility & contrast
On white
1.79
#CDC472 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#CDC472 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC472
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC472 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC472 | 1.00 | 1.79 | 11.73 | 11.73 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BF6B
Deuteranopia (green-blind)
#D4C475
Tritanopia (blue-blind)
#D9BAB0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc472; /* rgb */ color: rgb(205, 196, 114); /* oklch */ color: oklch(81.0% 0.104 102.9);
Tailwind
colors: {
custom: {
50: '#ded59c',
500: '#cdc472',
950: '#000000',
},
}SCSS
$custom: #cdc472; $custom-light: #ded59c; $custom-dark: #000000;
JSON
{
"hex": "#cdc472",
"rgb": {
"r": 205,
"g": 196,
"b": 114
},
"hsl": {
"h": 54.066,
"s": 47.644,
"l": 62.549
},
"oklch": {
"l": 0.80981,
"c": 0.10422,
"h": 102.9
},
"luminance": 0.53674
}Semantic roles & 50–950 ramp
primary
#CDC472
secondary
#4C5397
accent
#39BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F