#96791B#96791B
#96791B is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.8% C 0.111 H 90.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #96791B |
|---|---|
| RGB | rgb(150, 121, 27) |
| HSL | hsl(46, 69%, 35%) |
| HSV | hsv(46, 82%, 59%) |
| CMYK | cmyk(0%, 19.3%, 82%, 41.2%) |
| CIE-LAB | lab(52.11, 1.91, 51.44) |
| CIE-LCH | lch(52.11, 51.48, 87.88°) |
| OKLab | oklab(58.79% -0.0006 0.1112) |
| OKLCH | oklch(58.79% 0.111 90.3) |
| XYZ | xyz(19.6141, 20.2392, 3.9102) |
| Luminance | 0.2024 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Brown
#947706
ΔE00 1.59
Yellowish Brown
#9B7A01
ΔE00 2.21
Hazel
#8E7618
ΔE00 2.23
Poo
#8F7303
ΔE00 2.72
Baby Poop
#937C00
ΔE00 3.14
Diarrhea
#9F8303
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96791B #1B3896
analogous
#963C1B #96791B #75961B
triadic
#96791B #1B9679 #791B96
tetradic
#96791B #1B963C #1B3896 #961B75
square
#96791B #1B963C #1B3896 #961B75
split-complementary
#96791B #1B7596 #3C1B96
monochromatic
#2E2508 #624F12 #96791B #CAA324 #DFBC4D
Accessibility & contrast
On white
4.16
#96791B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#96791B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96791B
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96791B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96791B | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887804
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#A36E67
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #96791b; /* rgb */ color: rgb(150, 121, 27); /* oklch */ color: oklch(58.8% 0.111 90.3);
Tailwind
colors: {
custom: {
50: '#b99f60',
500: '#96791b',
950: '#000000',
},
}SCSS
$custom: #96791b; $custom-light: #b99f60; $custom-dark: #000000;
JSON
{
"hex": "#96791b",
"rgb": {
"r": 150,
"g": 121,
"b": 27
},
"hsl": {
"h": 45.854,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.58788,
"c": 0.11122,
"h": 90.3
},
"luminance": 0.20238
}Semantic roles & 50–950 ramp
primary
#96791B
secondary
#4C67C1
accent
#65EC3B
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79