#CDC573#CDC573
#CDC573 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.104 H 103.6°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC573 |
|---|---|
| RGB | rgb(205, 197, 115) |
| HSL | hsl(55, 47%, 63%) |
| HSV | hsv(55, 44%, 80%) |
| CMYK | cmyk(0%, 3.9%, 43.9%, 19.6%) |
| CIE-LAB | lab(78.55, -8.71, 41.99) |
| CIE-LCH | lch(78.55, 42.88, 101.72°) |
| OKLab | oklab(81.21% -0.0244 0.1013) |
| OKLCH | oklch(81.21% 0.104 103.6) |
| XYZ | xyz(48.2386, 54.1508, 24.1274) |
| Luminance | 0.5415 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.87
Greenish Beige
#C9D179
ΔE00 4.84
Sand (survey)
#E2CA76
ΔE00 5.04
Greenish Tan
#BCCB7A
ΔE00 6.25
Sandy
#F1DA7A
ΔE00 7.22
Pale Olive
#B9CC81
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC573 #737BCD
analogous
#CD9873 #CDC573 #A8CD73
triadic
#CDC573 #73CDC5 #C573CD
tetradic
#CDC573 #73CD98 #737BCD #CD73A8
square
#CDC573 #73CD98 #737BCD #CD73A8
split-complementary
#CDC573 #73A8CD #9873CD
monochromatic
#928934 #BDB246 #CDC573 #DDD8A0 #EDEACD
Accessibility & contrast
On white
1.78
#CDC573 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.83
#CDC573 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC573
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC573 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC573 | 1.00 | 1.78 | 11.83 | 11.83 |
| #FFFFFF | 1.78 | 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)
#D2C06C
Deuteranopia (green-blind)
#D5C477
Tritanopia (blue-blind)
#D9BBB1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc573; /* rgb */ color: rgb(205, 197, 115); /* oklch */ color: oklch(81.2% 0.104 103.6);
Tailwind
colors: {
custom: {
50: '#ded69d',
500: '#cdc573',
950: '#000000',
},
}SCSS
$custom: #cdc573; $custom-light: #ded69d; $custom-dark: #000000;
JSON
{
"hex": "#cdc573",
"rgb": {
"r": 205,
"g": 197,
"b": 115
},
"hsl": {
"h": 54.667,
"s": 47.368,
"l": 62.745
},
"oklch": {
"l": 0.81205,
"c": 0.1042,
"h": 103.6
},
"luminance": 0.54149
}Semantic roles & 50–950 ramp
primary
#CDC573
secondary
#4C5398
accent
#38BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F