#CDC776#CDC776
#CDC776 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.7% C 0.103 H 104.7°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC776 |
|---|---|
| RGB | rgb(205, 199, 118) |
| HSL | hsl(56, 47%, 63%) |
| HSV | hsv(56, 42%, 80%) |
| CMYK | cmyk(0%, 2.9%, 42.4%, 19.6%) |
| CIE-LAB | lab(79.12, -9.43, 41.20) |
| CIE-LCH | lch(79.12, 42.26, 102.89°) |
| OKLab | oklab(81.67% -0.0262 0.0997) |
| OKLCH | oklch(81.67% 0.103 104.7) |
| XYZ | xyz(48.8712, 55.1353, 25.2038) |
| Luminance | 0.5513 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.18
Darkkhaki
#BDB76B
ΔE00 4.19
Sand (survey)
#E2CA76
ΔE00 5.45
Greenish Tan
#BCCB7A
ΔE00 5.63
Pale Olive
#B9CC81
ΔE00 6.93
Sandy
#F1DA7A
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC776 #767CCD
analogous
#CD9B76 #CDC776 #A7CD76
triadic
#CDC776 #76CDC7 #C776CD
tetradic
#CDC776 #76CD9B #767CCD #CD76A7
square
#CDC776 #76CD9B #767CCD #CD76A7
split-complementary
#CDC776 #76A7CD #9B76CD
monochromatic
#938D36 #BDB549 #CDC776 #DDD9A3 #EEECD0
Accessibility & contrast
On white
1.75
#CDC776 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.03
#CDC776 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC776
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC776 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC776 | 1.00 | 1.75 | 12.03 | 12.03 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C270
Deuteranopia (green-blind)
#D6C679
Tritanopia (blue-blind)
#D8BDB3
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc776; /* rgb */ color: rgb(205, 199, 118); /* oklch */ color: oklch(81.7% 0.103 104.7);
Tailwind
colors: {
custom: {
50: '#ded79f',
500: '#cdc776',
950: '#000000',
},
}SCSS
$custom: #cdc776; $custom-light: #ded79f; $custom-dark: #000000;
JSON
{
"hex": "#cdc776",
"rgb": {
"r": 205,
"g": 199,
"b": 118
},
"hsl": {
"h": 55.862,
"s": 46.524,
"l": 63.333
},
"oklch": {
"l": 0.81671,
"c": 0.1031,
"h": 104.7
},
"luminance": 0.55134
}Semantic roles & 50–950 ramp
primary
#CDC776
secondary
#4E5399
accent
#36BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F