#96872F#96872F
#96872F is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 62.0% C 0.108 H 99.5°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #96872F |
|---|---|
| RGB | rgb(150, 135, 47) |
| HSL | hsl(51, 52%, 39%) |
| HSV | hsv(51, 69%, 59%) |
| CMYK | cmyk(0%, 10%, 68.7%, 41.2%) |
| CIE-LAB | lab(56.11, -4.95, 47.46) |
| CIE-LCH | lch(56.11, 47.72, 95.95°) |
| OKLab | oklab(61.99% -0.0179 0.1068) |
| OKLCH | oklch(61.99% 0.108 99.5) |
| XYZ | xyz(21.7557, 24.0182, 6.1788) |
| Luminance | 0.2402 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.17
Baby Poop
#937C00
ΔE00 5.23
Dark Khaki
#9B8F55
ΔE00 6.10
Dark Mustard
#A88905
ΔE00 6.23
Hazel
#8E7618
ΔE00 6.50
Olive
#808000
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96872F #2F3E96
analogous
#96532F #96872F #71962F
triadic
#96872F #2F9687 #872F96
tetradic
#96872F #2F9653 #2F3E96 #962F71
square
#96872F #2F9653 #2F3E96 #962F71
split-complementary
#96872F #2F7196 #532F96
monochromatic
#393312 #675D20 #96872F #C3B03F #D2C36E
Accessibility & contrast
On white
3.62
#96872F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#96872F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96872F
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96872F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96872F | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948323
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#A27D75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #96872f; /* rgb */ color: rgb(150, 135, 47); /* oklch */ color: oklch(62.0% 0.108 99.5);
Tailwind
colors: {
custom: {
50: '#b8a96c',
500: '#96872f',
950: '#000000',
},
}SCSS
$custom: #96872f; $custom-light: #b8a96c; $custom-dark: #000000;
JSON
{
"hex": "#96872f",
"rgb": {
"r": 150,
"g": 135,
"b": 47
},
"hsl": {
"h": 51.262,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.61993,
"c": 0.10828,
"h": 99.5
},
"luminance": 0.24017
}Semantic roles & 50–950 ramp
primary
#96872F
secondary
#6874B9
accent
#61DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A