#96831E#96831E
#96831E is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.0% C 0.116 H 97.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #96831E |
|---|---|
| RGB | rgb(150, 131, 30) |
| HSL | hsl(51, 67%, 35%) |
| HSV | hsv(51, 80%, 59%) |
| CMYK | cmyk(0%, 12.7%, 80%, 41.2%) |
| CIE-LAB | lab(54.88, -3.57, 52.91) |
| CIE-LCH | lch(54.88, 53.03, 93.87°) |
| OKLab | oklab(60.98% -0.0158 0.115) |
| OKLCH | oklch(60.98% 0.116 97.8) |
| XYZ | xyz(20.9294, 22.8115, 4.5287) |
| Luminance | 0.2281 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.98
Diarrhea
#9F8303
ΔE00 3.28
Hazel
#8E7618
ΔE00 4.93
Puke Brown
#947706
ΔE00 5.00
Dark Mustard
#A88905
ΔE00 5.03
Yellowish Brown
#9B7A01
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96831E #1E3196
analogous
#96471E #96831E #6D961E
triadic
#96831E #1E9683 #831E96
tetradic
#96831E #1E9647 #1E3196 #961E6D
square
#96831E #1E9647 #1E3196 #961E6D
split-complementary
#96831E #1E6D96 #471E96
monochromatic
#302A0A #635614 #96831E #C9B028 #DCC652
Accessibility & contrast
On white
3.78
#96831E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#96831E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96831E
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96831E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96831E | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #96831e; /* rgb */ color: rgb(150, 131, 30); /* oklch */ color: oklch(61.0% 0.116 97.8);
Tailwind
colors: {
custom: {
50: '#b9a663',
500: '#96831e',
950: '#000000',
},
}SCSS
$custom: #96831e; $custom-light: #b9a663; $custom-dark: #000000;
JSON
{
"hex": "#96831e",
"rgb": {
"r": 150,
"g": 131,
"b": 30
},
"hsl": {
"h": 50.5,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.60983,
"c": 0.11611,
"h": 97.8
},
"luminance": 0.2281
}Semantic roles & 50–950 ramp
primary
#96831E
secondary
#5062BF
accent
#59EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A