#96831F#96831F
#96831F 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 | #96831F |
|---|---|
| RGB | rgb(150, 131, 31) |
| HSL | hsl(50, 66%, 35%) |
| HSV | hsv(50, 79%, 59%) |
| CMYK | cmyk(0%, 12.7%, 79.3%, 41.2%) |
| CIE-LAB | lab(54.88, -3.54, 52.57) |
| CIE-LCH | lch(54.88, 52.69, 93.85°) |
| OKLab | oklab(60.99% -0.0156 0.1145) |
| OKLCH | oklch(60.99% 0.116 97.8) |
| XYZ | xyz(20.9424, 22.8167, 4.5970) |
| Luminance | 0.2282 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.03
Diarrhea
#9F8303
ΔE00 3.33
Hazel
#8E7618
ΔE00 4.92
Puke Brown
#947706
ΔE00 5.01
Dark Mustard
#A88905
ΔE00 5.07
Yellowish Brown
#9B7A01
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96831F #1F3296
analogous
#96471F #96831F #6D961F
triadic
#96831F #1F9683 #831F96
tetradic
#96831F #1F9647 #1F3296 #961F6D
square
#96831F #1F9647 #1F3296 #961F6D
split-complementary
#96831F #1F6D96 #471F96
monochromatic
#312A0A #635715 #96831F #C9AF29 #DCC654
Accessibility & contrast
On white
3.77
#96831F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#96831F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96831F
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96831F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96831F | 1.00 | 3.77 | 5.56 | 5.56 |
| #FFFFFF | 3.77 | 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)
#918008
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #96831f; /* rgb */ color: rgb(150, 131, 31); /* oklch */ color: oklch(61.0% 0.116 97.8);
Tailwind
colors: {
custom: {
50: '#b9a664',
500: '#96831f',
950: '#000000',
},
}SCSS
$custom: #96831f; $custom-light: #b9a664; $custom-dark: #000000;
JSON
{
"hex": "#96831f",
"rgb": {
"r": 150,
"g": 131,
"b": 31
},
"hsl": {
"h": 50.42,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.60989,
"c": 0.11558,
"h": 97.8
},
"luminance": 0.22816
}Semantic roles & 50–950 ramp
primary
#96831F
secondary
#5263BF
accent
#5AE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A