#96791F#96791F
#96791F is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.8% C 0.109 H 89.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #96791F |
|---|---|
| RGB | rgb(150, 121, 31) |
| HSL | hsl(45, 66%, 35%) |
| HSV | hsv(45, 79%, 59%) |
| CMYK | cmyk(0%, 19.3%, 79.3%, 41.2%) |
| CIE-LAB | lab(52.13, 2.06, 50.04) |
| CIE-LCH | lch(52.13, 50.09, 87.64°) |
| OKLab | oklab(58.81% 0.0003 0.1091) |
| OKLCH | oklch(58.81% 0.109 89.8) |
| XYZ | xyz(19.6635, 20.2590, 4.1707) |
| Luminance | 0.2026 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Brown
#947706
ΔE00 1.99
Hazel
#8E7618
ΔE00 2.33
Yellowish Brown
#9B7A01
ΔE00 2.57
Poo
#8F7303
ΔE00 2.96
Baby Poop
#937C00
ΔE00 3.50
Diarrhea
#9F8303
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96791F #1F3C96
analogous
#963D1F #96791F #77961F
triadic
#96791F #1F9679 #791F96
tetradic
#96791F #1F963D #1F3C96 #961F77
square
#96791F #1F963D #1F3C96 #961F77
split-complementary
#96791F #1F7796 #3D1F96
monochromatic
#31270A #635015 #96791F #C9A229 #DCBB54
Accessibility & contrast
On white
4.16
#96791F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#96791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96791F
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96791F | 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)
#88780D
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#A36E68
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #96791f; /* rgb */ color: rgb(150, 121, 31); /* oklch */ color: oklch(58.8% 0.109 89.8);
Tailwind
colors: {
custom: {
50: '#b99f62',
500: '#96791f',
950: '#000000',
},
}SCSS
$custom: #96791f; $custom-light: #b99f62; $custom-dark: #000000;
JSON
{
"hex": "#96791f",
"rgb": {
"r": 150,
"g": 121,
"b": 31
},
"hsl": {
"h": 45.378,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.58812,
"c": 0.10911,
"h": 89.8
},
"luminance": 0.20258
}Semantic roles & 50–950 ramp
primary
#96791F
secondary
#526CBF
accent
#68E93F
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A