#CDC479#CDC479
#CDC479 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.097 H 102.4°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC479 |
|---|---|
| RGB | rgb(205, 196, 121) |
| HSL | hsl(54, 46%, 64%) |
| HSV | hsv(54, 41%, 80%) |
| CMYK | cmyk(0%, 4.4%, 41%, 19.6%) |
| CIE-LAB | lab(78.37, -7.57, 38.74) |
| CIE-LCH | lch(78.37, 39.47, 101.06°) |
| OKLab | oklab(81.09% -0.0207 0.0943) |
| OKLCH | oklch(81.09% 0.097 102.4) |
| XYZ | xyz(48.3689, 53.8408, 25.9298) |
| Luminance | 0.5384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.70
Sand (survey)
#E2CA76
ΔE00 5.01
Greenish Beige
#C9D179
ΔE00 5.43
Greenish Tan
#BCCB7A
ΔE00 6.51
Sand
#C2B280
ΔE00 7.00
Sandy
#F1DA7A
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC479 #7982CD
analogous
#CD9A79 #CDC479 #ACCD79
triadic
#CDC479 #79CDC4 #C479CD
tetradic
#CDC479 #79CD9A #7982CD #CD79AC
square
#CDC479 #79CD9A #7982CD #CD79AC
split-complementary
#CDC479 #79ACCD #9A79CD
monochromatic
#948A37 #BCB04C #CDC479 #DED8A6 #EEEBD2
Accessibility & contrast
On white
1.78
#CDC479 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.77
#CDC479 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC479
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC479 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC479 | 1.00 | 1.78 | 11.77 | 11.77 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BF73
Deuteranopia (green-blind)
#D4C47C
Tritanopia (blue-blind)
#D8BBB2
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc479; /* rgb */ color: rgb(205, 196, 121); /* oklch */ color: oklch(81.1% 0.097 102.4);
Tailwind
colors: {
custom: {
50: '#ddd5a1',
500: '#cdc479',
950: '#000000',
},
}SCSS
$custom: #cdc479; $custom-light: #ddd5a1; $custom-dark: #000000;
JSON
{
"hex": "#cdc479",
"rgb": {
"r": 205,
"g": 196,
"b": 121
},
"hsl": {
"h": 53.571,
"s": 45.652,
"l": 63.922
},
"oklch": {
"l": 0.81089,
"c": 0.09653,
"h": 102.4
},
"luminance": 0.53839
}Semantic roles & 50–950 ramp
primary
#CDC479
secondary
#50589B
accent
#3CB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380