#97791E#97791E
#97791E is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.9% C 0.110 H 89.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #97791E |
|---|---|
| RGB | rgb(151, 121, 30) |
| HSL | hsl(45, 67%, 35%) |
| HSV | hsv(45, 80%, 59%) |
| CMYK | cmyk(0%, 19.9%, 80.1%, 40.8%) |
| CIE-LAB | lab(52.23, 2.48, 50.54) |
| CIE-LCH | lch(52.23, 50.60, 87.19°) |
| OKLab | oklab(58.91% 0.0013 0.1099) |
| OKLCH | oklch(58.91% 0.11 89.3) |
| XYZ | xyz(19.8354, 20.3491, 4.1111) |
| Luminance | 0.2035 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Brown
#947706
ΔE00 1.99
Yellowish Brown
#9B7A01
ΔE00 2.36
Hazel
#8E7618
ΔE00 2.59
Poo
#8F7303
ΔE00 3.03
Baby Poop
#937C00
ΔE00 3.62
Diarrhea
#9F8303
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97791E #1E3C97
analogous
#973C1E #97791E #78971E
triadic
#97791E #1E9779 #791E97
tetradic
#97791E #1E973C #1E3C97 #971E78
square
#97791E #1E973C #1E3C97 #971E78
split-complementary
#97791E #1E7897 #3C1E97
monochromatic
#31270A #645014 #97791E #CAA228 #DDBB53
Accessibility & contrast
On white
4.14
#97791E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#97791E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97791E
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97791E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97791E | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#A46E68
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #97791e; /* rgb */ color: rgb(151, 121, 30); /* oklch */ color: oklch(58.9% 0.110 89.3);
Tailwind
colors: {
custom: {
50: '#ba9f62',
500: '#97791e',
950: '#000000',
},
}SCSS
$custom: #97791e; $custom-light: #ba9f62; $custom-dark: #000000;
JSON
{
"hex": "#97791e",
"rgb": {
"r": 151,
"g": 121,
"b": 30
},
"hsl": {
"h": 45.124,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.58914,
"c": 0.10991,
"h": 89.3
},
"luminance": 0.20348
}Semantic roles & 50–950 ramp
primary
#97791E
secondary
#516CC0
accent
#69EA3E
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A