#CDC677#CDC677
#CDC677 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.101 H 104.0°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC677 |
|---|---|
| RGB | rgb(205, 198, 119) |
| HSL | hsl(55, 46%, 64%) |
| HSV | hsv(55, 42%, 80%) |
| CMYK | cmyk(0%, 3.4%, 42%, 19.6%) |
| CIE-LAB | lab(78.87, -8.81, 40.38) |
| CIE-LCH | lch(78.87, 41.33, 102.31°) |
| OKLab | oklab(81.48% -0.0244 0.0979) |
| OKLCH | oklch(81.48% 0.101 104) |
| XYZ | xyz(48.7016, 54.7005, 25.4420) |
| Luminance | 0.5470 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.98
Greenish Beige
#C9D179
ΔE00 4.57
Sand (survey)
#E2CA76
ΔE00 5.27
Greenish Tan
#BCCB7A
ΔE00 5.89
Pale Olive
#B9CC81
ΔE00 7.13
Sandy
#F1DA7A
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC677 #777ECD
analogous
#CD9B77 #CDC677 #A9CD77
triadic
#CDC677 #77CDC6 #C677CD
tetradic
#CDC677 #77CD9B #777ECD #CD77A9
square
#CDC677 #77CD9B #777ECD #CD77A9
split-complementary
#CDC677 #77A9CD #9B77CD
monochromatic
#938C36 #BDB34A #CDC677 #DDD9A4 #EEECD0
Accessibility & contrast
On white
1.76
#CDC677 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.94
#CDC677 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC677
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC677 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC677 | 1.00 | 1.76 | 11.94 | 11.94 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C171
Deuteranopia (green-blind)
#D5C57A
Tritanopia (blue-blind)
#D8BCB3
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc677; /* rgb */ color: rgb(205, 198, 119); /* oklch */ color: oklch(81.5% 0.101 104.0);
Tailwind
colors: {
custom: {
50: '#ded79f',
500: '#cdc677',
950: '#000000',
},
}SCSS
$custom: #cdc677; $custom-light: #ded79f; $custom-dark: #000000;
JSON
{
"hex": "#cdc677",
"rgb": {
"r": 205,
"g": 198,
"b": 119
},
"hsl": {
"h": 55.116,
"s": 46.237,
"l": 63.529
},
"oklch": {
"l": 0.81476,
"c": 0.1009,
"h": 104
},
"luminance": 0.54699
}Semantic roles & 50–950 ramp
primary
#CDC677
secondary
#4F559A
accent
#38B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380