#CDC79D#CDC79D
#CDC79D is a very light, muted yellow. Relative luminance 0.563; OKLCH L 82.4% C 0.057 H 100.7°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC79D |
|---|---|
| RGB | rgb(205, 199, 157) |
| HSL | hsl(53, 32%, 71%) |
| HSV | hsv(53, 23%, 80%) |
| CMYK | cmyk(0%, 2.9%, 23.4%, 19.6%) |
| CIE-LAB | lab(79.76, -4.65, 21.83) |
| CIE-LCH | lch(79.76, 22.32, 102.03°) |
| OKLab | oklab(82.39% -0.0105 0.0555) |
| OKLCH | oklch(82.39% 0.057 100.7) |
| XYZ | xyz(51.6860, 56.2612, 40.0285) |
| Luminance | 0.5626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.53
Sand
#C2B280
ΔE00 6.49
Putty
#BEAE8A
ΔE00 7.62
Vanilla
#F3E5AB
ΔE00 8.30
Palegoldenrod
#EEE8AA
ΔE00 8.62
Very Light Brown
#D3B683
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC79D #9DA3CD
analogous
#CDAF9D #CDC79D #BBCD9D
triadic
#CDC79D #9DCDC7 #C79DCD
tetradic
#CDC79D #9DCDAF #9DA3CD #CD9DBB
square
#CDC79D #9DCDAF #9DA3CD #CD9DBB
split-complementary
#CDC79D #9DBBCD #AF9DCD
monochromatic
#9F9551 #B8B074 #CDC79D #E2DEC6 #F5F3EB
Accessibility & contrast
On white
1.71
#CDC79D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.25
#CDC79D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC79D
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC79D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC79D | 1.00 | 1.71 | 12.25 | 12.25 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFC49A
Deuteranopia (green-blind)
#D1C79E
Tritanopia (blue-blind)
#D5C1BC
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #cdc79d; /* rgb */ color: rgb(205, 199, 157); /* oklch */ color: oklch(82.4% 0.057 100.7);
Tailwind
colors: {
custom: {
50: '#dcd7ba',
500: '#cdc79d',
950: '#000000',
},
}SCSS
$custom: #cdc79d; $custom-light: #dcd7ba; $custom-dark: #000000;
JSON
{
"hex": "#cdc79d",
"rgb": {
"r": 205,
"g": 199,
"b": 157
},
"hsl": {
"h": 52.5,
"s": 32.432,
"l": 70.98
},
"oklch": {
"l": 0.8239,
"c": 0.05651,
"h": 100.7
},
"luminance": 0.5626
}Semantic roles & 50–950 ramp
primary
#CDC79D
secondary
#6C73A2
accent
#48AB3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381