#CFB96C#CFB96C
#CFB96C is a light, moderate yellow. Relative luminance 0.490; OKLCH L 78.8% C 0.100 H 93.9°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB96C |
|---|---|
| RGB | rgb(207, 185, 108) |
| HSL | hsl(47, 51%, 62%) |
| HSV | hsv(47, 48%, 81%) |
| CMYK | cmyk(0%, 10.6%, 47.8%, 18.8%) |
| CIE-LAB | lab(75.48, -2.35, 41.73) |
| CIE-LCH | lch(75.48, 41.80, 93.23°) |
| OKLab | oklab(78.79% -0.0069 0.1002) |
| OKLCH | oklch(78.79% 0.1 93.9) |
| XYZ | xyz(45.7893, 49.0479, 21.2397) |
| Luminance | 0.4905 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Tan (survey)
#D1B26F
ΔE00 3.93
Desert
#CCAD60
ΔE00 3.95
Sand (survey)
#E2CA76
ΔE00 4.48
Darkkhaki
#BDB76B
ΔE00 5.01
Sandstone
#C9AE74
ΔE00 5.03
Sandy Brown
#C4A661
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB96C #6C82CF
analogous
#CF886C #CFB96C #B3CF6C
triadic
#CFB96C #6CCFB9 #B96CCF
tetradic
#CFB96C #6CCF88 #6C82CF #CF6CB3
square
#CFB96C #6CCF88 #6C82CF #CF6CB3
split-complementary
#CFB96C #6CB3CF #886CCF
monochromatic
#917B2F #BFA33E #CFB96C #DECF9A #EDE5C8
Accessibility & contrast
On white
1.94
#CFB96C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.81
#CFB96C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB96C
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB96C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB96C | 1.00 | 1.94 | 10.81 | 10.81 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B666
Deuteranopia (green-blind)
#CDBD6F
Tritanopia (blue-blind)
#DCAEA7
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #cfb96c; /* rgb */ color: rgb(207, 185, 108); /* oklch */ color: oklch(78.8% 0.100 93.9);
Tailwind
colors: {
custom: {
50: '#dfcd97',
500: '#cfb96c',
950: '#000000',
},
}SCSS
$custom: #cfb96c; $custom-light: #dfcd97; $custom-dark: #000000;
JSON
{
"hex": "#cfb96c",
"rgb": {
"r": 207,
"g": 185,
"b": 108
},
"hsl": {
"h": 46.667,
"s": 50.769,
"l": 61.765
},
"oklch": {
"l": 0.78787,
"c": 0.10046,
"h": 93.9
},
"luminance": 0.49046
}Semantic roles & 50–950 ramp
primary
#CFB96C
secondary
#B9C1DE
accent
#49BE27
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E