#CDC471#CDC471
#CDC471 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.105 H 103.0°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC471 |
|---|---|
| RGB | rgb(205, 196, 113) |
| HSL | hsl(54, 48%, 62%) |
| HSV | hsv(54, 45%, 80%) |
| CMYK | cmyk(0%, 4.4%, 44.9%, 19.6%) |
| CIE-LAB | lab(78.26, -8.40, 42.63) |
| CIE-LCH | lch(78.26, 43.45, 101.14°) |
| OKLab | oklab(80.97% -0.0237 0.1026) |
| OKLCH | oklch(80.97% 0.105 103) |
| XYZ | xyz(47.8985, 53.6526, 23.4524) |
| Luminance | 0.5365 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.77
Sand (survey)
#E2CA76
ΔE00 4.87
Greenish Beige
#C9D179
ΔE00 5.19
Greenish Tan
#BCCB7A
ΔE00 6.58
Sandy
#F1DA7A
ΔE00 7.19
Light Olive
#ACBF69
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC471 #717ACD
analogous
#CD9671 #CDC471 #A8CD71
triadic
#CDC471 #71CDC4 #C471CD
tetradic
#CDC471 #71CD96 #717ACD #CD71A8
square
#CDC471 #71CD96 #717ACD #CD71A8
split-complementary
#CDC471 #71A8CD #9671CD
monochromatic
#918733 #BDB144 #CDC471 #DDD79E #EDEACC
Accessibility & contrast
On white
1.79
#CDC471 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#CDC471 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC471
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC471 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC471 | 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)
#D1BF6A
Deuteranopia (green-blind)
#D4C475
Tritanopia (blue-blind)
#D9BAB0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc471; /* rgb */ color: rgb(205, 196, 113); /* oklch */ color: oklch(81.0% 0.105 103.0);
Tailwind
colors: {
custom: {
50: '#ded59b',
500: '#cdc471',
950: '#000000',
},
}SCSS
$custom: #cdc471; $custom-light: #ded59b; $custom-dark: #000000;
JSON
{
"hex": "#cdc471",
"rgb": {
"r": 205,
"g": 196,
"b": 113
},
"hsl": {
"h": 54.13,
"s": 47.917,
"l": 62.353
},
"oklch": {
"l": 0.80966,
"c": 0.1053,
"h": 103
},
"luminance": 0.53651
}Semantic roles & 50–950 ramp
primary
#CDC471
secondary
#4B5397
accent
#38BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F