#CDC574#CDC574
#CDC574 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.103 H 103.5°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC574 |
|---|---|
| RGB | rgb(205, 197, 116) |
| HSL | hsl(55, 47%, 63%) |
| HSV | hsv(55, 43%, 80%) |
| CMYK | cmyk(0%, 3.9%, 43.4%, 19.6%) |
| CIE-LAB | lab(78.56, -8.61, 41.51) |
| CIE-LCH | lch(78.56, 42.39, 101.72°) |
| OKLab | oklab(81.22% -0.0241 0.1003) |
| OKLCH | oklch(81.22% 0.103 103.5) |
| XYZ | xyz(48.2965, 54.1739, 24.4321) |
| Luminance | 0.5417 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.84
Greenish Beige
#C9D179
ΔE00 4.86
Sand (survey)
#E2CA76
ΔE00 5.05
Greenish Tan
#BCCB7A
ΔE00 6.23
Sandy
#F1DA7A
ΔE00 7.26
Pale Olive
#B9CC81
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC574 #747CCD
analogous
#CD9874 #CDC574 #A8CD74
triadic
#CDC574 #74CDC5 #C574CD
tetradic
#CDC574 #74CD98 #747CCD #CD74A8
square
#CDC574 #74CD98 #747CCD #CD74A8
split-complementary
#CDC574 #74A8CD #9874CD
monochromatic
#928A35 #BDB247 #CDC574 #DDD8A1 #EDEBCE
Accessibility & contrast
On white
1.77
#CDC574 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.83
#CDC574 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC574
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC574 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC574 | 1.00 | 1.77 | 11.83 | 11.83 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2C06E
Deuteranopia (green-blind)
#D5C477
Tritanopia (blue-blind)
#D9BBB1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc574; /* rgb */ color: rgb(205, 197, 116); /* oklch */ color: oklch(81.2% 0.103 103.5);
Tailwind
colors: {
custom: {
50: '#ded69d',
500: '#cdc574',
950: '#000000',
},
}SCSS
$custom: #cdc574; $custom-light: #ded69d; $custom-dark: #000000;
JSON
{
"hex": "#cdc574",
"rgb": {
"r": 205,
"g": 197,
"b": 116
},
"hsl": {
"h": 54.607,
"s": 47.09,
"l": 62.941
},
"oklch": {
"l": 0.8122,
"c": 0.10312,
"h": 103.5
},
"luminance": 0.54173
}Semantic roles & 50–950 ramp
primary
#CDC574
secondary
#4D5498
accent
#38BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F