#CDC197#CDC197
#CDC197 is a light, muted yellow. Relative luminance 0.534; OKLCH L 81.0% C 0.058 H 94.0°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC197 |
|---|---|
| RGB | rgb(205, 193, 151) |
| HSL | hsl(47, 35%, 70%) |
| HSV | hsv(47, 26%, 80%) |
| CMYK | cmyk(0%, 5.9%, 26.3%, 19.6%) |
| CIE-LAB | lab(78.08, -2.36, 22.72) |
| CIE-LCH | lch(78.08, 22.84, 95.92°) |
| OKLab | oklab(81.03% -0.004 0.0576) |
| OKLCH | oklch(81.03% 0.058 94) |
| XYZ | xyz(49.8330, 53.3546, 36.9455) |
| Luminance | 0.5335 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.56
Putty
#BEAE8A
ΔE00 5.45
Very Light Brown
#D3B683
ΔE00 6.25
Beige (survey)
#E6DAA6
ΔE00 6.35
Khaki
#C3B091
ΔE00 6.44
Toupe
#C7AC7D
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC197 #97A3CD
analogous
#CDA697 #CDC197 #BECD97
triadic
#CDC197 #97CDC1 #C197CD
tetradic
#CDC197 #97CDA6 #97A3CD #CD97BE
square
#CDC197 #97CDA6 #97A3CD #CD97BE
split-complementary
#CDC197 #97BECD #A697CD
monochromatic
#9E8C4C #B9A86E #CDC197 #E1DAC0 #F5F2EA
Accessibility & contrast
On white
1.80
#CDC197 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.67
#CDC197 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC197
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC197 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC197 | 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)
#CABF94
Deuteranopia (green-blind)
#CDC398
Tritanopia (blue-blind)
#D6BBB6
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc197; /* rgb */ color: rgb(205, 193, 151); /* oklch */ color: oklch(81.0% 0.058 94.0);
Tailwind
colors: {
custom: {
50: '#dcd3b5',
500: '#cdc197',
950: '#000000',
},
}SCSS
$custom: #cdc197; $custom-light: #dcd3b5; $custom-dark: #000000;
JSON
{
"hex": "#cdc197",
"rgb": {
"r": 205,
"g": 193,
"b": 151
},
"hsl": {
"h": 46.667,
"s": 35.065,
"l": 69.804
},
"oklch": {
"l": 0.81027,
"c": 0.05773,
"h": 94
},
"luminance": 0.53353
}Semantic roles & 50–950 ramp
primary
#CDC197
secondary
#6673A2
accent
#52AE38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381