#96791E#96791E
#96791E is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.8% C 0.110 H 90.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #96791E |
|---|---|
| RGB | rgb(150, 121, 30) |
| HSL | hsl(46, 67%, 35%) |
| HSV | hsv(46, 80%, 59%) |
| CMYK | cmyk(0%, 19.3%, 80%, 41.2%) |
| CIE-LAB | lab(52.12, 2.02, 50.40) |
| CIE-LCH | lch(52.12, 50.45, 87.71°) |
| OKLab | oklab(58.81% 0.0001 0.1097) |
| OKLCH | oklch(58.81% 0.11 90) |
| XYZ | xyz(19.6506, 20.2538, 4.1024) |
| Luminance | 0.2025 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Brown
#947706
ΔE00 1.88
Hazel
#8E7618
ΔE00 2.30
Yellowish Brown
#9B7A01
ΔE00 2.47
Poo
#8F7303
ΔE00 2.89
Baby Poop
#937C00
ΔE00 3.40
Diarrhea
#9F8303
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96791E #1E3B96
analogous
#963D1E #96791E #77961E
triadic
#96791E #1E9679 #791E96
tetradic
#96791E #1E963D #1E3B96 #961E77
square
#96791E #1E963D #1E3B96 #961E77
split-complementary
#96791E #1E7796 #3D1E96
monochromatic
#30270A #635014 #96791E #C9A228 #DCBB52
Accessibility & contrast
On white
4.16
#96791E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#96791E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96791E
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96791E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96791E | 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)
#88780B
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#A36E68
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #96791e; /* rgb */ color: rgb(150, 121, 30); /* oklch */ color: oklch(58.8% 0.110 90.0);
Tailwind
colors: {
custom: {
50: '#b99f62',
500: '#96791e',
950: '#000000',
},
}SCSS
$custom: #96791e; $custom-light: #b99f62; $custom-dark: #000000;
JSON
{
"hex": "#96791e",
"rgb": {
"r": 150,
"g": 121,
"b": 30
},
"hsl": {
"h": 45.5,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.58806,
"c": 0.10966,
"h": 90
},
"luminance": 0.20253
}Semantic roles & 50–950 ramp
primary
#96791E
secondary
#506BBF
accent
#68EA3E
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A