#96873E#96873E
#96873E is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.2% C 0.095 H 97.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #96873E |
|---|---|
| RGB | rgb(150, 135, 62) |
| HSL | hsl(50, 42%, 42%) |
| HSV | hsv(50, 59%, 59%) |
| CMYK | cmyk(0%, 10%, 58.7%, 41.2%) |
| CIE-LAB | lab(56.25, -3.90, 40.61) |
| CIE-LCH | lch(56.25, 40.79, 95.49°) |
| OKLab | oklab(62.15% -0.013 0.0944) |
| OKLCH | oklch(62.15% 0.095 97.9) |
| XYZ | xyz(22.1120, 24.1607, 8.0552) |
| Luminance | 0.2416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.16
Drab
#828344
ΔE00 6.21
Dark Sand
#A88F59
ΔE00 6.65
Baby Poop
#937C00
ΔE00 6.76
Diarrhea
#9F8303
ΔE00 6.76
Hazel
#8E7618
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96873E #3E4D96
analogous
#965B3E #96873E #79963E
triadic
#96873E #3E9687 #873E96
tetradic
#96873E #3E965B #3E4D96 #963E79
square
#96873E #3E965B #3E4D96 #963E79
split-complementary
#96873E #3E7996 #5B3E96
monochromatic
#3F391A #6B602C #96873E #BAA957 #CCBF83
Accessibility & contrast
On white
3.60
#96873E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#96873E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96873E
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96873E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96873E | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938437
Deuteranopia (green-blind)
#978941
Tritanopia (blue-blind)
#A17E77
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #96873e; /* rgb */ color: rgb(150, 135, 62); /* oklch */ color: oklch(62.2% 0.095 97.9);
Tailwind
colors: {
custom: {
50: '#b7a976',
500: '#96873e',
950: '#000000',
},
}SCSS
$custom: #96873e; $custom-light: #b7a976; $custom-dark: #000000;
JSON
{
"hex": "#96873e",
"rgb": {
"r": 150,
"g": 135,
"b": 62
},
"hsl": {
"h": 49.773,
"s": 41.509,
"l": 41.569
},
"oklch": {
"l": 0.62151,
"c": 0.09533,
"h": 97.9
},
"luminance": 0.2416
}Semantic roles & 50–950 ramp
primary
#96873E
secondary
#7A84B6
accent
#6BD156
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B