#96812F#96812F
#96812F is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.7% C 0.103 H 94.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #96812F |
|---|---|
| RGB | rgb(150, 129, 47) |
| HSL | hsl(48, 52%, 39%) |
| HSV | hsv(48, 69%, 59%) |
| CMYK | cmyk(0%, 14%, 68.7%, 41.2%) |
| CIE-LAB | lab(54.44, -1.63, 45.73) |
| CIE-LCH | lch(54.44, 45.76, 92.03°) |
| OKLab | oklab(60.67% -0.0084 0.1031) |
| OKLCH | oklch(60.67% 0.103 94.6) |
| XYZ | xyz(20.9420, 22.3909, 5.9076) |
| Luminance | 0.2239 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.11
Hazel
#8E7618
ΔE00 4.36
Diarrhea
#9F8303
ΔE00 4.61
Puke Brown
#947706
ΔE00 4.91
Yellowish Brown
#9B7A01
ΔE00 5.14
Poo
#8F7303
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96812F #2F4496
analogous
#964D2F #96812F #77962F
triadic
#96812F #2F9681 #812F96
tetradic
#96812F #2F964D #2F4496 #962F77
square
#96812F #2F964D #2F4496 #962F77
split-complementary
#96812F #2F7796 #4D2F96
monochromatic
#393112 #675920 #96812F #C3A83F #D2BD6E
Accessibility & contrast
On white
3.83
#96812F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#96812F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96812F
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96812F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96812F | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E25
Deuteranopia (green-blind)
#948533
Tritanopia (blue-blind)
#A27770
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #96812f; /* rgb */ color: rgb(150, 129, 47); /* oklch */ color: oklch(60.7% 0.103 94.6);
Tailwind
colors: {
custom: {
50: '#b8a56c',
500: '#96812f',
950: '#000000',
},
}SCSS
$custom: #96812f; $custom-light: #b8a56c; $custom-dark: #000000;
JSON
{
"hex": "#96812f",
"rgb": {
"r": 150,
"g": 129,
"b": 47
},
"hsl": {
"h": 47.767,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.60673,
"c": 0.10348,
"h": 94.6
},
"luminance": 0.2239
}Semantic roles & 50–950 ramp
primary
#96812F
secondary
#6878B9
accent
#69DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A