#CDC379#CDC379
#CDC379 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.9% C 0.095 H 101.6°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC379 |
|---|---|
| RGB | rgb(205, 195, 121) |
| HSL | hsl(53, 46%, 64%) |
| HSV | hsv(53, 41%, 80%) |
| CMYK | cmyk(0%, 4.9%, 41%, 19.6%) |
| CIE-LAB | lab(78.11, -7.06, 38.40) |
| CIE-LCH | lch(78.11, 39.05, 100.41°) |
| OKLab | oklab(80.88% -0.0192 0.0935) |
| OKLCH | oklch(80.88% 0.095 101.6) |
| XYZ | xyz(48.1441, 53.3912, 25.8549) |
| Luminance | 0.5339 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.61
Sand (survey)
#E2CA76
ΔE00 4.89
Greenish Beige
#C9D179
ΔE00 5.82
Sand
#C2B280
ΔE00 6.66
Greenish Tan
#BCCB7A
ΔE00 6.85
Beige (survey)
#E6DAA6
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC379 #7983CD
analogous
#CD9979 #CDC379 #ADCD79
triadic
#CDC379 #79CDC3 #C379CD
tetradic
#CDC379 #79CD99 #7983CD #CD79AD
square
#CDC379 #79CD99 #7983CD #CD79AD
split-complementary
#CDC379 #79ADCD #9979CD
monochromatic
#948937 #BCAF4C #CDC379 #DED7A6 #EEEBD2
Accessibility & contrast
On white
1.80
#CDC379 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.68
#CDC379 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC379
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC379 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC379 | 1.00 | 1.80 | 11.68 | 11.68 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BF73
Deuteranopia (green-blind)
#D3C37C
Tritanopia (blue-blind)
#D9BAB1
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc379; /* rgb */ color: rgb(205, 195, 121); /* oklch */ color: oklch(80.9% 0.095 101.6);
Tailwind
colors: {
custom: {
50: '#ddd5a1',
500: '#cdc379',
950: '#000000',
},
}SCSS
$custom: #cdc379; $custom-light: #ddd5a1; $custom-dark: #000000;
JSON
{
"hex": "#cdc379",
"rgb": {
"r": 205,
"g": 195,
"b": 121
},
"hsl": {
"h": 52.857,
"s": 45.652,
"l": 63.922
},
"oklch": {
"l": 0.8088,
"c": 0.09548,
"h": 101.6
},
"luminance": 0.5339
}Semantic roles & 50–950 ramp
primary
#CDC379
secondary
#50599B
accent
#3DB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380