#CDC191#CDC191
#CDC191 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.065 H 95.7°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC191 |
|---|---|
| RGB | rgb(205, 193, 145) |
| HSL | hsl(48, 38%, 69%) |
| HSV | hsv(48, 29%, 80%) |
| CMYK | cmyk(0%, 5.9%, 29.3%, 19.6%) |
| CIE-LAB | lab(77.97, -3.16, 25.75) |
| CIE-LCH | lch(77.97, 25.94, 97.00°) |
| OKLab | oklab(80.9% -0.0065 0.0648) |
| OKLCH | oklch(80.9% 0.065 95.7) |
| XYZ | xyz(49.3580, 53.1646, 34.4443) |
| Luminance | 0.5316 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.08
Beige (survey)
#E6DAA6
ΔE00 6.05
Putty
#BEAE8A
ΔE00 6.08
Very Light Brown
#D3B683
ΔE00 6.11
Sandstone
#C9AE74
ΔE00 6.81
Darkkhaki
#BDB76B
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC191 #919DCD
analogous
#CDA391 #CDC191 #BBCD91
triadic
#CDC191 #91CDC1 #C191CD
tetradic
#CDC191 #91CDA3 #919DCD #CD91BB
square
#CDC191 #91CDA3 #919DCD #CD91BB
split-complementary
#CDC191 #91BBCD #A391CD
monochromatic
#9C8B47 #BAA967 #CDC191 #E0D9BB #F3F0E5
Accessibility & contrast
On white
1.81
#CDC191 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.63
#CDC191 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC191
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC191 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC191 | 1.00 | 1.81 | 11.63 | 11.63 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBBE8E
Deuteranopia (green-blind)
#CEC393
Tritanopia (blue-blind)
#D6BAB4
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc191; /* rgb */ color: rgb(205, 193, 145); /* oklch */ color: oklch(80.9% 0.065 95.7);
Tailwind
colors: {
custom: {
50: '#ddd3b1',
500: '#cdc191',
950: '#000000',
},
}SCSS
$custom: #cdc191; $custom-light: #ddd3b1; $custom-dark: #000000;
JSON
{
"hex": "#cdc191",
"rgb": {
"r": 205,
"g": 193,
"b": 145
},
"hsl": {
"h": 48,
"s": 37.5,
"l": 68.627
},
"oklch": {
"l": 0.80903,
"c": 0.06513,
"h": 95.7
},
"luminance": 0.53163
}Semantic roles & 50–950 ramp
primary
#CDC191
secondary
#606DA2
accent
#4EB035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381