#CFCFAB#CFCFAB
#CFCFAB is a very light, muted yellow. Relative luminance 0.608; OKLCH L 84.5% C 0.048 H 107.4°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).
Color values
| HEX | #CFCFAB |
|---|---|
| RGB | rgb(207, 207, 171) |
| HSL | hsl(60, 27%, 74%) |
| HSV | hsv(60, 17%, 81%) |
| CMYK | cmyk(0%, 0%, 17.4%, 18.8%) |
| CIE-LAB | lab(82.29, -6.00, 17.94) |
| CIE-LCH | lch(82.29, 18.92, 108.50°) |
| OKLab | oklab(84.52% -0.0144 0.0461) |
| OKLCH | oklch(84.52% 0.048 107.4) |
| XYZ | xyz(55.3951, 60.8319, 47.3437) |
| Luminance | 0.6083 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 6.32
Palegoldenrod
#EEE8AA
ΔE00 8.49
Vanilla
#F3E5AB
ΔE00 8.68
Eggshell
#F0EAD6
ΔE00 9.22
Beige
#F5F5DC
ΔE00 9.38
Lightgoldenrodyellow
#FAFAD2
ΔE00 9.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFCFAB #ABABCF
analogous
#CFBDAB #CFCFAB #BDCFAB
triadic
#CFCFAB #ABCFCF #CFABCF
tetradic
#CFCFAB #ABCFBD #ABABCF #CFABBD
square
#CFCFAB #ABCFBD #ABABCF #CFABBD
split-complementary
#CFCFAB #ABBDCF #BDABCF
monochromatic
#A2A25D #B9B984 #CFCFAB #E5E5D2 #F4F4EC
Accessibility & contrast
On white
1.59
#CFCFAB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.17
#CFCFAB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFCFAB
13.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFCFAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFCFAB | 1.00 | 1.59 | 13.17 | 13.17 |
| #FFFFFF | 1.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5CCA9
Deuteranopia (green-blind)
#D6CDAC
Tritanopia (blue-blind)
#D5CAC5
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #cfcfab; /* rgb */ color: rgb(207, 207, 171); /* oklch */ color: oklch(84.5% 0.048 107.4);
Tailwind
colors: {
custom: {
50: '#deddc4',
500: '#cfcfab',
950: '#000000',
},
}SCSS
$custom: #cfcfab; $custom-light: #deddc4; $custom-dark: #000000;
JSON
{
"hex": "#cfcfab",
"rgb": {
"r": 207,
"g": 207,
"b": 171
},
"hsl": {
"h": 60,
"s": 27.273,
"l": 74.118
},
"oklch": {
"l": 0.84517,
"c": 0.04825,
"h": 107.4
},
"luminance": 0.60831
}Semantic roles & 50–950 ramp
primary
#CFCFAB
secondary
#7A7AA4
accent
#40A640
background
#FEFEFD
surface
#FCFCF9
border
#D5D5D2
text
#151512
muted
#848482