#96862F#96862F
#96862F is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.8% C 0.107 H 98.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #96862F |
|---|---|
| RGB | rgb(150, 134, 47) |
| HSL | hsl(51, 52%, 39%) |
| HSV | hsv(51, 69%, 59%) |
| CMYK | cmyk(0%, 10.7%, 68.7%, 41.2%) |
| CIE-LAB | lab(55.83, -4.40, 47.18) |
| CIE-LCH | lch(55.83, 47.38, 95.32°) |
| OKLab | oklab(61.77% -0.0163 0.1062) |
| OKLCH | oklch(61.77% 0.107 98.7) |
| XYZ | xyz(21.6168, 23.7405, 6.1325) |
| Luminance | 0.2374 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.95
Diarrhea
#9F8303
ΔE00 4.98
Hazel
#8E7618
ΔE00 6.11
Dark Mustard
#A88905
ΔE00 6.13
Dark Khaki
#9B8F55
ΔE00 6.16
Puke Brown
#947706
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96862F #2F3F96
analogous
#96522F #96862F #72962F
triadic
#96862F #2F9686 #862F96
tetradic
#96862F #2F9652 #2F3F96 #962F72
square
#96862F #2F9652 #2F3F96 #962F72
split-complementary
#96862F #2F7296 #522F96
monochromatic
#393312 #675C20 #96862F #C3AE3F #D2C26E
Accessibility & contrast
On white
3.65
#96862F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#96862F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96862F
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96862F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96862F | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938324
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#A27C74
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #96862f; /* rgb */ color: rgb(150, 134, 47); /* oklch */ color: oklch(61.8% 0.107 98.7);
Tailwind
colors: {
custom: {
50: '#b8a86c',
500: '#96862f',
950: '#000000',
},
}SCSS
$custom: #96862f; $custom-light: #b8a86c; $custom-dark: #000000;
JSON
{
"hex": "#96862f",
"rgb": {
"r": 150,
"g": 134,
"b": 47
},
"hsl": {
"h": 50.68,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.61771,
"c": 0.10743,
"h": 98.7
},
"luminance": 0.23739
}Semantic roles & 50–950 ramp
primary
#96862F
secondary
#6874B9
accent
#62DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A