#CDC079#CDC079
#CDC079 is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.092 H 99.1°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC079 |
|---|---|
| RGB | rgb(205, 192, 121) |
| HSL | hsl(51, 46%, 64%) |
| HSV | hsv(51, 41%, 80%) |
| CMYK | cmyk(0%, 6.3%, 41%, 19.6%) |
| CIE-LAB | lab(77.32, -5.50, 37.40) |
| CIE-LCH | lch(77.32, 37.80, 98.37°) |
| OKLab | oklab(80.26% -0.0147 0.0913) |
| OKLCH | oklch(80.26% 0.092 99.1) |
| XYZ | xyz(47.4787, 52.0603, 25.6331) |
| Luminance | 0.5206 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.63
Sand (survey)
#E2CA76
ΔE00 4.72
Sand
#C2B280
ΔE00 5.64
Tan (survey)
#D1B26F
ΔE00 6.43
Sandstone
#C9AE74
ΔE00 6.80
Desert
#CCAD60
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC079 #7986CD
analogous
#CD9679 #CDC079 #B0CD79
triadic
#CDC079 #79CDC0 #C079CD
tetradic
#CDC079 #79CD96 #7986CD #CD79B0
square
#CDC079 #79CD96 #7986CD #CD79B0
split-complementary
#CDC079 #79B0CD #9679CD
monochromatic
#948637 #BCAB4C #CDC079 #DED5A6 #EEEAD2
Accessibility & contrast
On white
1.84
#CDC079 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.41
#CDC079 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC079
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC079 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC079 | 1.00 | 1.84 | 11.41 | 11.41 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBC74
Deuteranopia (green-blind)
#D1C17C
Tritanopia (blue-blind)
#D9B7AE
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc079; /* rgb */ color: rgb(205, 192, 121); /* oklch */ color: oklch(80.3% 0.092 99.1);
Tailwind
colors: {
custom: {
50: '#ddd2a0',
500: '#cdc079',
950: '#000000',
},
}SCSS
$custom: #cdc079; $custom-light: #ddd2a0; $custom-dark: #000000;
JSON
{
"hex": "#cdc079",
"rgb": {
"r": 205,
"g": 192,
"b": 121
},
"hsl": {
"h": 50.714,
"s": 45.652,
"l": 63.922
},
"oklch": {
"l": 0.80256,
"c": 0.09242,
"h": 99.1
},
"luminance": 0.52059
}Semantic roles & 50–950 ramp
primary
#CDC079
secondary
#505B9B
accent
#42B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380