#CDC474#CDC474
#CDC474 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.102 H 102.8°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC474 |
|---|---|
| RGB | rgb(205, 196, 116) |
| HSL | hsl(54, 47%, 63%) |
| HSV | hsv(54, 43%, 80%) |
| CMYK | cmyk(0%, 4.4%, 43.4%, 19.6%) |
| CIE-LAB | lab(78.30, -8.09, 41.18) |
| CIE-LCH | lch(78.30, 41.96, 101.12°) |
| OKLab | oklab(81.01% -0.0226 0.0995) |
| OKLCH | oklch(81.01% 0.102 102.8) |
| XYZ | xyz(48.0702, 53.7213, 24.3567) |
| Luminance | 0.5372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.68
Sand (survey)
#E2CA76
ΔE00 4.88
Greenish Beige
#C9D179
ΔE00 5.23
Greenish Tan
#BCCB7A
ΔE00 6.52
Sandy
#F1DA7A
ΔE00 7.30
Sand
#C2B280
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC474 #747DCD
analogous
#CD9874 #CDC474 #A9CD74
triadic
#CDC474 #74CDC4 #C474CD
tetradic
#CDC474 #74CD98 #747DCD #CD74A9
square
#CDC474 #74CD98 #747DCD #CD74A9
split-complementary
#CDC474 #74A9CD #9874CD
monochromatic
#928935 #BDB147 #CDC474 #DDD7A1 #EDEACE
Accessibility & contrast
On white
1.79
#CDC474 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.74
#CDC474 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC474
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC474 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC474 | 1.00 | 1.79 | 11.74 | 11.74 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BF6E
Deuteranopia (green-blind)
#D4C477
Tritanopia (blue-blind)
#D9BAB1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc474; /* rgb */ color: rgb(205, 196, 116); /* oklch */ color: oklch(81.0% 0.102 102.8);
Tailwind
colors: {
custom: {
50: '#ded59d',
500: '#cdc474',
950: '#000000',
},
}SCSS
$custom: #cdc474; $custom-light: #ded59d; $custom-dark: #000000;
JSON
{
"hex": "#cdc474",
"rgb": {
"r": 205,
"g": 196,
"b": 116
},
"hsl": {
"h": 53.933,
"s": 47.09,
"l": 62.941
},
"oklch": {
"l": 0.81011,
"c": 0.10206,
"h": 102.8
},
"luminance": 0.5372
}Semantic roles & 50–950 ramp
primary
#CDC474
secondary
#4D5498
accent
#3ABA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F