#96811F#96811F
#96811F is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.5% C 0.114 H 96.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #96811F |
|---|---|
| RGB | rgb(150, 129, 31) |
| HSL | hsl(49, 66%, 35%) |
| HSV | hsv(49, 79%, 59%) |
| CMYK | cmyk(0%, 14%, 79.3%, 41.2%) |
| CIE-LAB | lab(54.33, -2.43, 52.06) |
| CIE-LCH | lch(54.33, 52.12, 92.67°) |
| OKLab | oklab(60.55% -0.0125 0.1134) |
| OKLCH | oklch(60.55% 0.114 96.3) |
| XYZ | xyz(20.6764, 22.2846, 4.5084) |
| Luminance | 0.2228 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.49
Diarrhea
#9F8303
ΔE00 3.13
Hazel
#8E7618
ΔE00 4.13
Puke Brown
#947706
ΔE00 4.18
Yellowish Brown
#9B7A01
ΔE00 4.32
Dark Mustard
#A88905
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96811F #1F3496
analogous
#96461F #96811F #6F961F
triadic
#96811F #1F9681 #811F96
tetradic
#96811F #1F9646 #1F3496 #961F6F
square
#96811F #1F9646 #1F3496 #961F6F
split-complementary
#96811F #1F6F96 #461F96
monochromatic
#312A0A #635515 #96811F #C9AD29 #DCC454
Accessibility & contrast
On white
3.85
#96811F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#96811F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96811F
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96811F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96811F | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E09
Deuteranopia (green-blind)
#948526
Tritanopia (blue-blind)
#A2766E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #96811f; /* rgb */ color: rgb(150, 129, 31); /* oklch */ color: oklch(60.5% 0.114 96.3);
Tailwind
colors: {
custom: {
50: '#b9a563',
500: '#96811f',
950: '#000000',
},
}SCSS
$custom: #96811f; $custom-light: #b9a563; $custom-dark: #000000;
JSON
{
"hex": "#96811f",
"rgb": {
"r": 150,
"g": 129,
"b": 31
},
"hsl": {
"h": 49.412,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.60549,
"c": 0.11411,
"h": 96.3
},
"luminance": 0.22283
}Semantic roles & 50–950 ramp
primary
#96811F
secondary
#5265BF
accent
#5DE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A