#CDC476#CDC476
#CDC476 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.100 H 102.6°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC476 |
|---|---|
| RGB | rgb(205, 196, 118) |
| HSL | hsl(54, 47%, 63%) |
| HSV | hsv(54, 42%, 80%) |
| CMYK | cmyk(0%, 4.4%, 42.4%, 19.6%) |
| CIE-LAB | lab(78.33, -7.89, 40.20) |
| CIE-LCH | lch(78.33, 40.97, 101.10°) |
| OKLab | oklab(81.04% -0.0218 0.0975) |
| OKLCH | oklch(81.04% 0.1 102.6) |
| XYZ | xyz(48.1878, 53.7684, 24.9760) |
| Luminance | 0.5377 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.66
Sand (survey)
#E2CA76
ΔE00 4.92
Greenish Beige
#C9D179
ΔE00 5.29
Greenish Tan
#BCCB7A
ΔE00 6.50
Sand
#C2B280
ΔE00 7.37
Sandy
#F1DA7A
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC476 #767FCD
analogous
#CD9876 #CDC476 #AACD76
triadic
#CDC476 #76CDC4 #C476CD
tetradic
#CDC476 #76CD98 #767FCD #CD76AA
square
#CDC476 #76CD98 #767FCD #CD76AA
split-complementary
#CDC476 #76AACD #9876CD
monochromatic
#938936 #BDB149 #CDC476 #DDD7A3 #EEEBD0
Accessibility & contrast
On white
1.79
#CDC476 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.75
#CDC476 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC476
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC476 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC476 | 1.00 | 1.79 | 11.75 | 11.75 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BF70
Deuteranopia (green-blind)
#D4C479
Tritanopia (blue-blind)
#D9BAB1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc476; /* rgb */ color: rgb(205, 196, 118); /* oklch */ color: oklch(81.0% 0.100 102.6);
Tailwind
colors: {
custom: {
50: '#ded59f',
500: '#cdc476',
950: '#000000',
},
}SCSS
$custom: #cdc476; $custom-light: #ded59f; $custom-dark: #000000;
JSON
{
"hex": "#cdc476",
"rgb": {
"r": 205,
"g": 196,
"b": 118
},
"hsl": {
"h": 53.793,
"s": 46.524,
"l": 63.333
},
"oklch": {
"l": 0.81042,
"c": 0.09986,
"h": 102.6
},
"luminance": 0.53767
}Semantic roles & 50–950 ramp
primary
#CDC476
secondary
#4E5699
accent
#3ABA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F