#CDC779#CDC779
#CDC779 is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.100 H 104.6°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC779 |
|---|---|
| RGB | rgb(205, 199, 121) |
| HSL | hsl(56, 46%, 64%) |
| HSV | hsv(56, 41%, 80%) |
| CMYK | cmyk(0%, 2.9%, 41%, 19.6%) |
| CIE-LAB | lab(79.16, -9.11, 39.74) |
| CIE-LCH | lch(79.16, 40.77, 102.92°) |
| OKLab | oklab(81.72% -0.0251 0.0966) |
| OKLCH | oklch(81.72% 0.1 104.6) |
| XYZ | xyz(49.0523, 55.2077, 26.1577) |
| Luminance | 0.5521 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.17
Greenish Beige
#C9D179
ΔE00 4.28
Sand (survey)
#E2CA76
ΔE00 5.51
Greenish Tan
#BCCB7A
ΔE00 5.59
Pale Olive
#B9CC81
ΔE00 6.80
Light Olive
#ACBF69
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC779 #797FCD
analogous
#CD9D79 #CDC779 #A9CD79
triadic
#CDC779 #79CDC7 #C779CD
tetradic
#CDC779 #79CD9D #797FCD #CD79A9
square
#CDC779 #79CD9D #797FCD #CD79A9
split-complementary
#CDC779 #79A9CD #9D79CD
monochromatic
#948E37 #BCB44C #CDC779 #DEDAA6 #EEECD2
Accessibility & contrast
On white
1.74
#CDC779 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.04
#CDC779 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC779
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC779 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC779 | 1.00 | 1.74 | 12.04 | 12.04 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C273
Deuteranopia (green-blind)
#D6C67C
Tritanopia (blue-blind)
#D8BEB4
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc779; /* rgb */ color: rgb(205, 199, 121); /* oklch */ color: oklch(81.7% 0.100 104.6);
Tailwind
colors: {
custom: {
50: '#ddd7a1',
500: '#cdc779',
950: '#000000',
},
}SCSS
$custom: #cdc779; $custom-light: #ddd7a1; $custom-dark: #000000;
JSON
{
"hex": "#cdc779",
"rgb": {
"r": 205,
"g": 199,
"b": 121
},
"hsl": {
"h": 55.714,
"s": 45.652,
"l": 63.922
},
"oklch": {
"l": 0.81717,
"c": 0.09978,
"h": 104.6
},
"luminance": 0.55206
}Semantic roles & 50–950 ramp
primary
#CDC779
secondary
#50559B
accent
#37B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380