#CDC674#CDC674
#CDC674 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.104 H 104.2°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC674 |
|---|---|
| RGB | rgb(205, 198, 116) |
| HSL | hsl(55, 47%, 63%) |
| HSV | hsv(55, 43%, 80%) |
| CMYK | cmyk(0%, 3.4%, 43.4%, 19.6%) |
| CIE-LAB | lab(78.83, -9.12, 41.84) |
| CIE-LCH | lch(78.83, 42.82, 102.30°) |
| OKLab | oklab(81.43% -0.0255 0.101) |
| OKLCH | oklch(81.43% 0.104 104.2) |
| XYZ | xyz(48.5243, 54.6296, 24.5080) |
| Luminance | 0.5463 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.03
Greenish Beige
#C9D179
ΔE00 4.50
Sand (survey)
#E2CA76
ΔE00 5.24
Greenish Tan
#BCCB7A
ΔE00 5.95
Sandy
#F1DA7A
ΔE00 7.24
Pale Olive
#B9CC81
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC674 #747BCD
analogous
#CD9974 #CDC674 #A7CD74
triadic
#CDC674 #74CDC6 #C674CD
tetradic
#CDC674 #74CD99 #747BCD #CD74A7
square
#CDC674 #74CD99 #747BCD #CD74A7
split-complementary
#CDC674 #74A7CD #9974CD
monochromatic
#928B35 #BDB447 #CDC674 #DDD8A1 #EDEBCE
Accessibility & contrast
On white
1.76
#CDC674 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.93
#CDC674 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC674
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC674 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC674 | 1.00 | 1.76 | 11.93 | 11.93 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C16D
Deuteranopia (green-blind)
#D6C578
Tritanopia (blue-blind)
#D9BCB2
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc674; /* rgb */ color: rgb(205, 198, 116); /* oklch */ color: oklch(81.4% 0.104 104.2);
Tailwind
colors: {
custom: {
50: '#ded79d',
500: '#cdc674',
950: '#000000',
},
}SCSS
$custom: #cdc674; $custom-light: #ded79d; $custom-dark: #000000;
JSON
{
"hex": "#cdc674",
"rgb": {
"r": 205,
"g": 198,
"b": 116
},
"hsl": {
"h": 55.281,
"s": 47.09,
"l": 62.941
},
"oklch": {
"l": 0.8143,
"c": 0.10419,
"h": 104.2
},
"luminance": 0.54628
}Semantic roles & 50–950 ramp
primary
#CDC674
secondary
#4D5398
accent
#36BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F