#CFC396#CFC396
#CFC396 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.6% C 0.061 H 94.9°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC396 |
|---|---|
| RGB | rgb(207, 195, 150) |
| HSL | hsl(47, 37%, 70%) |
| HSV | hsv(47, 28%, 81%) |
| CMYK | cmyk(0%, 5.8%, 27.5%, 18.8%) |
| CIE-LAB | lab(78.75, -2.77, 24.19) |
| CIE-LCH | lch(78.75, 24.34, 96.53°) |
| OKLab | oklab(81.59% -0.0053 0.0611) |
| OKLCH | oklch(81.59% 0.061 94.9) |
| XYZ | xyz(50.7526, 54.4988, 36.6940) |
| Luminance | 0.5450 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.72
Beige (survey)
#E6DAA6
ΔE00 5.66
Putty
#BEAE8A
ΔE00 6.16
Very Light Brown
#D3B683
ΔE00 6.33
Khaki
#C3B091
ΔE00 7.20
Sandstone
#C9AE74
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC396 #96A2CF
analogous
#CFA696 #CFC396 #BFCF96
triadic
#CFC396 #96CFC3 #C396CF
tetradic
#CFC396 #96CFA6 #96A2CF #CF96BF
square
#CFC396 #96CFA6 #96A2CF #CF96BF
split-complementary
#CFC396 #96BFCF #A696CF
monochromatic
#A18F4A #BCAB6C #CFC396 #E2DBC0 #F5F3EA
Accessibility & contrast
On white
1.76
#CFC396 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.90
#CFC396 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC396
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC396 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC396 | 1.00 | 1.76 | 11.90 | 11.90 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCC193
Deuteranopia (green-blind)
#D0C597
Tritanopia (blue-blind)
#D8BCB7
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc396; /* rgb */ color: rgb(207, 195, 150); /* oklch */ color: oklch(81.6% 0.061 94.9);
Tailwind
colors: {
custom: {
50: '#ded5b5',
500: '#cfc396',
950: '#000000',
},
}SCSS
$custom: #cfc396; $custom-light: #ded5b5; $custom-dark: #000000;
JSON
{
"hex": "#cfc396",
"rgb": {
"r": 207,
"g": 195,
"b": 150
},
"hsl": {
"h": 47.368,
"s": 37.255,
"l": 70
},
"oklch": {
"l": 0.81588,
"c": 0.06136,
"h": 94.9
},
"luminance": 0.54498
}Semantic roles & 50–950 ramp
primary
#CFC396
secondary
#6572A5
accent
#4FB035
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381