#CFC8A2#CFC8A2
#CFC8A2 is a very light, muted yellow. Relative luminance 0.572; OKLCH L 82.9% C 0.051 H 98.7°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC8A2 |
|---|---|
| RGB | rgb(207, 200, 162) |
| HSL | hsl(51, 32%, 72%) |
| HSV | hsv(51, 22%, 81%) |
| CMYK | cmyk(0%, 3.4%, 21.7%, 18.8%) |
| CIE-LAB | lab(80.28, -3.71, 19.93) |
| CIE-LCH | lch(80.28, 20.27, 100.54°) |
| OKLab | oklab(82.87% -0.0078 0.0509) |
| OKLCH | oklch(82.87% 0.051 98.7) |
| XYZ | xyz(52.9079, 57.1835, 42.4258) |
| Luminance | 0.5718 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.65
Sand
#C2B280
ΔE00 6.96
Putty
#BEAE8A
ΔE00 7.49
Wheat
#F5DEB3
ΔE00 8.30
Khaki
#C3B091
ΔE00 8.30
Vanilla
#F3E5AB
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC8A2 #A2A9CF
analogous
#CFB2A2 #CFC8A2 #BFCFA2
triadic
#CFC8A2 #A2CFC8 #C8A2CF
tetradic
#CFC8A2 #A2CFB2 #A2A9CF #CFA2BF
square
#CFC8A2 #A2CFB2 #A2A9CF #CFA2BF
split-complementary
#CFC8A2 #A2BFCF #B2A2CF
monochromatic
#A39654 #BAB07A #CFC8A2 #E4E0CA #F5F3EB
Accessibility & contrast
On white
1.69
#CFC8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.44
#CFC8A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC8A2
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC8A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC8A2 | 1.00 | 1.69 | 12.44 | 12.44 |
| #FFFFFF | 1.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0C5A0
Deuteranopia (green-blind)
#D2C8A3
Tritanopia (blue-blind)
#D6C2BE
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #cfc8a2; /* rgb */ color: rgb(207, 200, 162); /* oklch */ color: oklch(82.9% 0.051 98.7);
Tailwind
colors: {
custom: {
50: '#ded8bd',
500: '#cfc8a2',
950: '#000000',
},
}SCSS
$custom: #cfc8a2; $custom-light: #ded8bd; $custom-dark: #000000;
JSON
{
"hex": "#cfc8a2",
"rgb": {
"r": 207,
"g": 200,
"b": 162
},
"hsl": {
"h": 50.667,
"s": 31.915,
"l": 72.353
},
"oklch": {
"l": 0.82873,
"c": 0.05149,
"h": 98.7
},
"luminance": 0.57183
}Semantic roles & 50–950 ramp
primary
#CFC8A2
secondary
#7179A5
accent
#4CAB3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151412
muted
#848382