#CDC579#CDC579
#CDC579 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.098 H 103.1°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC579 |
|---|---|
| RGB | rgb(205, 197, 121) |
| HSL | hsl(54, 46%, 64%) |
| HSV | hsv(54, 41%, 80%) |
| CMYK | cmyk(0%, 3.9%, 41%, 19.6%) |
| CIE-LAB | lab(78.63, -8.09, 39.07) |
| CIE-LCH | lch(78.63, 39.90, 101.69°) |
| OKLab | oklab(81.3% -0.0221 0.0951) |
| OKLCH | oklch(81.3% 0.098 103.1) |
| XYZ | xyz(48.5952, 54.2934, 26.0053) |
| Luminance | 0.5429 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.82
Greenish Beige
#C9D179
ΔE00 5.04
Sand (survey)
#E2CA76
ΔE00 5.16
Greenish Tan
#BCCB7A
ΔE00 6.19
Pale Olive
#B9CC81
ΔE00 7.34
Sand
#C2B280
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC579 #7981CD
analogous
#CD9B79 #CDC579 #ABCD79
triadic
#CDC579 #79CDC5 #C579CD
tetradic
#CDC579 #79CD9B #7981CD #CD79AB
square
#CDC579 #79CD9B #7981CD #CD79AB
split-complementary
#CDC579 #79ABCD #9B79CD
monochromatic
#948B37 #BCB24C #CDC579 #DED8A6 #EEECD2
Accessibility & contrast
On white
1.77
#CDC579 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.86
#CDC579 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC579
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC579 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC579 | 1.00 | 1.77 | 11.86 | 11.86 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2C073
Deuteranopia (green-blind)
#D4C57C
Tritanopia (blue-blind)
#D8BCB2
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc579; /* rgb */ color: rgb(205, 197, 121); /* oklch */ color: oklch(81.3% 0.098 103.1);
Tailwind
colors: {
custom: {
50: '#ddd6a1',
500: '#cdc579',
950: '#000000',
},
}SCSS
$custom: #cdc579; $custom-light: #ddd6a1; $custom-dark: #000000;
JSON
{
"hex": "#cdc579",
"rgb": {
"r": 205,
"g": 197,
"b": 121
},
"hsl": {
"h": 54.286,
"s": 45.652,
"l": 63.922
},
"oklch": {
"l": 0.81298,
"c": 0.0976,
"h": 103.1
},
"luminance": 0.54292
}Semantic roles & 50–950 ramp
primary
#CDC579
secondary
#50579B
accent
#3AB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380