#CDC377#CDC377
#CDC377 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.098 H 101.8°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC377 |
|---|---|
| RGB | rgb(205, 195, 119) |
| HSL | hsl(53, 46%, 64%) |
| HSV | hsv(53, 42%, 80%) |
| CMYK | cmyk(0%, 4.9%, 42%, 19.6%) |
| CIE-LAB | lab(78.08, -7.27, 39.38) |
| CIE-LCH | lch(78.08, 40.05, 100.46°) |
| OKLab | oklab(80.85% -0.0199 0.0957) |
| OKLCH | oklch(80.85% 0.098 101.8) |
| XYZ | xyz(48.0227, 53.3426, 25.2157) |
| Luminance | 0.5334 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.56
Sand (survey)
#E2CA76
ΔE00 4.81
Greenish Beige
#C9D179
ΔE00 5.71
Greenish Tan
#BCCB7A
ΔE00 6.82
Sand
#C2B280
ΔE00 6.91
Sandy
#F1DA7A
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC377 #7781CD
analogous
#CD9877 #CDC377 #ACCD77
triadic
#CDC377 #77CDC3 #C377CD
tetradic
#CDC377 #77CD98 #7781CD #CD77AC
square
#CDC377 #77CD98 #7781CD #CD77AC
split-complementary
#CDC377 #77ACCD #9877CD
monochromatic
#938936 #BDAF4A #CDC377 #DDD7A4 #EEEAD0
Accessibility & contrast
On white
1.80
#CDC377 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.67
#CDC377 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC377
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC377 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC377 | 1.00 | 1.80 | 11.67 | 11.67 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BE71
Deuteranopia (green-blind)
#D3C37A
Tritanopia (blue-blind)
#D9B9B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc377; /* rgb */ color: rgb(205, 195, 119); /* oklch */ color: oklch(80.8% 0.098 101.8);
Tailwind
colors: {
custom: {
50: '#ded59f',
500: '#cdc377',
950: '#000000',
},
}SCSS
$custom: #cdc377; $custom-light: #ded59f; $custom-dark: #000000;
JSON
{
"hex": "#cdc377",
"rgb": {
"r": 205,
"g": 195,
"b": 119
},
"hsl": {
"h": 53.023,
"s": 46.237,
"l": 63.529
},
"oklch": {
"l": 0.80848,
"c": 0.09771,
"h": 101.8
},
"luminance": 0.53341
}Semantic roles & 50–950 ramp
primary
#CDC377
secondary
#4F579A
accent
#3CB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F