#CDC576#CDC576
#CDC576 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.101 H 103.3°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC576 |
|---|---|
| RGB | rgb(205, 197, 118) |
| HSL | hsl(54, 47%, 63%) |
| HSV | hsv(54, 42%, 80%) |
| CMYK | cmyk(0%, 3.9%, 42.4%, 19.6%) |
| CIE-LAB | lab(78.59, -8.40, 40.53) |
| CIE-LCH | lch(78.59, 41.40, 101.71°) |
| OKLab | oklab(81.25% -0.0233 0.0982) |
| OKLCH | oklch(81.25% 0.101 103.3) |
| XYZ | xyz(48.4141, 54.2210, 25.0514) |
| Luminance | 0.5422 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.81
Greenish Beige
#C9D179
ΔE00 4.91
Sand (survey)
#E2CA76
ΔE00 5.07
Greenish Tan
#BCCB7A
ΔE00 6.20
Sandy
#F1DA7A
ΔE00 7.36
Pale Olive
#B9CC81
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC576 #767ECD
analogous
#CD9976 #CDC576 #A9CD76
triadic
#CDC576 #76CDC5 #C576CD
tetradic
#CDC576 #76CD99 #767ECD #CD76A9
square
#CDC576 #76CD99 #767ECD #CD76A9
split-complementary
#CDC576 #76A9CD #9976CD
monochromatic
#938A36 #BDB249 #CDC576 #DDD8A3 #EEEBD0
Accessibility & contrast
On white
1.77
#CDC576 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.84
#CDC576 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC576
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC576 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC576 | 1.00 | 1.77 | 11.84 | 11.84 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2C070
Deuteranopia (green-blind)
#D5C479
Tritanopia (blue-blind)
#D9BBB2
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc576; /* rgb */ color: rgb(205, 197, 118); /* oklch */ color: oklch(81.3% 0.101 103.3);
Tailwind
colors: {
custom: {
50: '#ded69f',
500: '#cdc576',
950: '#000000',
},
}SCSS
$custom: #cdc576; $custom-light: #ded69f; $custom-dark: #000000;
JSON
{
"hex": "#cdc576",
"rgb": {
"r": 205,
"g": 197,
"b": 118
},
"hsl": {
"h": 54.483,
"s": 46.524,
"l": 63.333
},
"oklch": {
"l": 0.81251,
"c": 0.10092,
"h": 103.3
},
"luminance": 0.5422
}Semantic roles & 50–950 ramp
primary
#CDC576
secondary
#4E5599
accent
#39BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F