#CDC097#CDC097
#CDC097 is a light, muted yellow. Relative luminance 0.529; OKLCH L 80.8% C 0.057 H 92.6°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC097 |
|---|---|
| RGB | rgb(205, 192, 151) |
| HSL | hsl(46, 35%, 70%) |
| HSV | hsv(46, 26%, 80%) |
| CMYK | cmyk(0%, 6.3%, 26.3%, 19.6%) |
| CIE-LAB | lab(77.82, -1.83, 22.36) |
| CIE-LCH | lch(77.82, 22.44, 94.68°) |
| OKLab | oklab(80.82% -0.0025 0.0567) |
| OKLCH | oklch(80.82% 0.057 92.6) |
| XYZ | xyz(49.6126, 52.9139, 36.8721) |
| Luminance | 0.5291 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.44
Putty
#BEAE8A
ΔE00 5.05
Very Light Brown
#D3B683
ΔE00 5.92
Khaki
#C3B091
ΔE00 5.92
Beige (survey)
#E6DAA6
ΔE00 6.67
Toupe
#C7AC7D
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC097 #97A4CD
analogous
#CDA597 #CDC097 #BFCD97
triadic
#CDC097 #97CDC0 #C097CD
tetradic
#CDC097 #97CDA5 #97A4CD #CD97BF
square
#CDC097 #97CDA5 #97A4CD #CD97BF
split-complementary
#CDC097 #97BFCD #A597CD
monochromatic
#9E8A4C #B9A76E #CDC097 #E1D9C0 #F5F2EA
Accessibility & contrast
On white
1.81
#CDC097 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.58
#CDC097 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC097
11.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC097 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC097 | 1.00 | 1.81 | 11.58 | 11.58 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9BE94
Deuteranopia (green-blind)
#CDC298
Tritanopia (blue-blind)
#D6BAB5
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc097; /* rgb */ color: rgb(205, 192, 151); /* oklch */ color: oklch(80.8% 0.057 92.6);
Tailwind
colors: {
custom: {
50: '#ddd2b5',
500: '#cdc097',
950: '#000000',
},
}SCSS
$custom: #cdc097; $custom-light: #ddd2b5; $custom-dark: #000000;
JSON
{
"hex": "#cdc097",
"rgb": {
"r": 205,
"g": 192,
"b": 151
},
"hsl": {
"h": 45.556,
"s": 35.065,
"l": 69.804
},
"oklch": {
"l": 0.80823,
"c": 0.05679,
"h": 92.6
},
"luminance": 0.52913
}Semantic roles & 50–950 ramp
primary
#CDC097
secondary
#6674A2
accent
#54AE38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381