#CDC774#CDC774
#CDC774 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.105 H 104.9°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC774 |
|---|---|
| RGB | rgb(205, 199, 116) |
| HSL | hsl(56, 47%, 63%) |
| HSV | hsv(56, 43%, 80%) |
| CMYK | cmyk(0%, 2.9%, 43.4%, 19.6%) |
| CIE-LAB | lab(79.09, -9.63, 42.17) |
| CIE-LCH | lch(79.09, 43.25, 102.87°) |
| OKLab | oklab(81.64% -0.027 0.1017) |
| OKLCH | oklch(81.64% 0.105 104.9) |
| XYZ | xyz(48.7536, 55.0882, 24.5845) |
| Luminance | 0.5509 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.14
Darkkhaki
#BDB76B
ΔE00 4.25
Sand (survey)
#E2CA76
ΔE00 5.44
Greenish Tan
#BCCB7A
ΔE00 5.68
Pale Olive
#B9CC81
ΔE00 7.04
Sandy
#F1DA7A
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC774 #747ACD
analogous
#CD9A74 #CDC774 #A6CD74
triadic
#CDC774 #74CDC7 #C774CD
tetradic
#CDC774 #74CD9A #747ACD #CD74A6
square
#CDC774 #74CD9A #747ACD #CD74A6
split-complementary
#CDC774 #74A6CD #9A74CD
monochromatic
#928C35 #BDB547 #CDC774 #DDD9A1 #EDEBCE
Accessibility & contrast
On white
1.75
#CDC774 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.02
#CDC774 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC774
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC774 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC774 | 1.00 | 1.75 | 12.02 | 12.02 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C16D
Deuteranopia (green-blind)
#D6C678
Tritanopia (blue-blind)
#D9BDB3
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc774; /* rgb */ color: rgb(205, 199, 116); /* oklch */ color: oklch(81.6% 0.105 104.9);
Tailwind
colors: {
custom: {
50: '#ded79d',
500: '#cdc774',
950: '#000000',
},
}SCSS
$custom: #cdc774; $custom-light: #ded79d; $custom-dark: #000000;
JSON
{
"hex": "#cdc774",
"rgb": {
"r": 205,
"g": 199,
"b": 116
},
"hsl": {
"h": 55.955,
"s": 47.09,
"l": 62.941
},
"oklch": {
"l": 0.8164,
"c": 0.10527,
"h": 104.9
},
"luminance": 0.55087
}Semantic roles & 50–950 ramp
primary
#CDC774
secondary
#4D5298
accent
#35BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F