#96842F#96842F
#96842F is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.3% C 0.106 H 97.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #96842F |
|---|---|
| RGB | rgb(150, 132, 47) |
| HSL | hsl(50, 52%, 39%) |
| HSV | hsv(50, 69%, 59%) |
| CMYK | cmyk(0%, 12%, 68.7%, 41.2%) |
| CIE-LAB | lab(55.27, -3.29, 46.60) |
| CIE-LCH | lch(55.27, 46.71, 94.04°) |
| OKLab | oklab(61.33% -0.0131 0.105) |
| OKLCH | oklch(61.33% 0.106 97.1) |
| XYZ | xyz(21.3430, 23.1928, 6.0412) |
| Luminance | 0.2319 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.49
Diarrhea
#9F8303
ΔE00 4.69
Hazel
#8E7618
ΔE00 5.36
Puke Brown
#947706
ΔE00 5.88
Yellowish Brown
#9B7A01
ΔE00 6.04
Dark Mustard
#A88905
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96842F #2F4196
analogous
#96502F #96842F #74962F
triadic
#96842F #2F9684 #842F96
tetradic
#96842F #2F9650 #2F4196 #962F74
square
#96842F #2F9650 #2F4196 #962F74
split-complementary
#96842F #2F7496 #502F96
monochromatic
#393212 #675B20 #96842F #C3AC3F #D2C06E
Accessibility & contrast
On white
3.72
#96842F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#96842F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96842F
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96842F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96842F | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918124
Deuteranopia (green-blind)
#968734
Tritanopia (blue-blind)
#A27A72
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #96842f; /* rgb */ color: rgb(150, 132, 47); /* oklch */ color: oklch(61.3% 0.106 97.1);
Tailwind
colors: {
custom: {
50: '#b8a76c',
500: '#96842f',
950: '#000000',
},
}SCSS
$custom: #96842f; $custom-light: #b8a76c; $custom-dark: #000000;
JSON
{
"hex": "#96842f",
"rgb": {
"r": 150,
"g": 132,
"b": 47
},
"hsl": {
"h": 49.515,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.61331,
"c": 0.10579,
"h": 97.1
},
"luminance": 0.23192
}Semantic roles & 50–950 ramp
primary
#96842F
secondary
#6876B9
accent
#65DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A