#96841F#96841F
#96841F is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.2% C 0.116 H 98.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #96841F |
|---|---|
| RGB | rgb(150, 132, 31) |
| HSL | hsl(51, 66%, 35%) |
| HSV | hsv(51, 79%, 59%) |
| CMYK | cmyk(0%, 12%, 79.3%, 41.2%) |
| CIE-LAB | lab(55.16, -4.09, 52.82) |
| CIE-LCH | lch(55.16, 52.98, 94.43°) |
| OKLab | oklab(61.21% -0.0172 0.1151) |
| OKLCH | oklch(61.21% 0.116 98.5) |
| XYZ | xyz(21.0773, 23.0866, 4.6420) |
| Luminance | 0.2308 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.36
Diarrhea
#9F8303
ΔE00 3.51
Dark Mustard
#A88905
ΔE00 5.10
Hazel
#8E7618
ΔE00 5.32
Puke Brown
#947706
ΔE00 5.43
Yellowish Brown
#9B7A01
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96841F #1F3196
analogous
#96481F #96841F #6D961F
triadic
#96841F #1F9684 #841F96
tetradic
#96841F #1F9648 #1F3196 #961F6D
square
#96841F #1F9648 #1F3196 #961F6D
split-complementary
#96841F #1F6D96 #481F96
monochromatic
#312B0A #635715 #96841F #C9B129 #DCC754
Accessibility & contrast
On white
3.74
#96841F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#96841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96841F
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96841F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96841F | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928107
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#A27971
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #96841f; /* rgb */ color: rgb(150, 132, 31); /* oklch */ color: oklch(61.2% 0.116 98.5);
Tailwind
colors: {
custom: {
50: '#b9a764',
500: '#96841f',
950: '#000000',
},
}SCSS
$custom: #96841f; $custom-light: #b9a764; $custom-dark: #000000;
JSON
{
"hex": "#96841f",
"rgb": {
"r": 150,
"g": 132,
"b": 31
},
"hsl": {
"h": 50.924,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.61209,
"c": 0.11634,
"h": 98.5
},
"luminance": 0.23085
}Semantic roles & 50–950 ramp
primary
#96841F
secondary
#5262BF
accent
#59E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A