#97801E#97801E
#97801E is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.4% C 0.114 H 95.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #97801E |
|---|---|
| RGB | rgb(151, 128, 30) |
| HSL | hsl(49, 67%, 35%) |
| HSV | hsv(49, 80%, 59%) |
| CMYK | cmyk(0%, 15.2%, 80.1%, 40.8%) |
| CIE-LAB | lab(54.15, -1.45, 52.28) |
| CIE-LCH | lch(54.15, 52.30, 91.58°) |
| OKLab | oklab(60.43% -0.0099 0.1136) |
| OKLCH | oklch(60.43% 0.114 95) |
| XYZ | xyz(20.7172, 22.1126, 4.4050) |
| Luminance | 0.2211 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.27
Diarrhea
#9F8303
ΔE00 2.86
Puke Brown
#947706
ΔE00 3.63
Yellowish Brown
#9B7A01
ΔE00 3.67
Hazel
#8E7618
ΔE00 3.79
Poo
#8F7303
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97801E #1E3597
analogous
#97431E #97801E #71971E
triadic
#97801E #1E9780 #801E97
tetradic
#97801E #1E9743 #1E3597 #971E71
square
#97801E #1E9743 #1E3597 #971E71
split-complementary
#97801E #1E7197 #431E97
monochromatic
#31290A #645514 #97801E #CAAB28 #DDC353
Accessibility & contrast
On white
3.87
#97801E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#97801E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97801E
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97801E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97801E | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#948425
Tritanopia (blue-blind)
#A4756E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #97801e; /* rgb */ color: rgb(151, 128, 30); /* oklch */ color: oklch(60.4% 0.114 95.0);
Tailwind
colors: {
custom: {
50: '#baa463',
500: '#97801e',
950: '#000000',
},
}SCSS
$custom: #97801e; $custom-light: #baa463; $custom-dark: #000000;
JSON
{
"hex": "#97801e",
"rgb": {
"r": 151,
"g": 128,
"b": 30
},
"hsl": {
"h": 48.595,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.60427,
"c": 0.11407,
"h": 95
},
"luminance": 0.22111
}Semantic roles & 50–950 ramp
primary
#97801E
secondary
#5166C0
accent
#5FEA3E
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A