#97801F#97801F
#97801F is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.4% C 0.114 H 94.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #97801F |
|---|---|
| RGB | rgb(151, 128, 31) |
| HSL | hsl(49, 66%, 36%) |
| HSV | hsv(49, 79%, 59%) |
| CMYK | cmyk(0%, 15.2%, 79.5%, 40.8%) |
| CIE-LAB | lab(54.15, -1.41, 51.94) |
| CIE-LCH | lch(54.15, 51.96, 91.55°) |
| OKLab | oklab(60.43% -0.0096 0.1131) |
| OKLCH | oklch(60.43% 0.114 94.9) |
| XYZ | xyz(20.7301, 22.1178, 4.4733) |
| Luminance | 0.2212 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.35
Diarrhea
#9F8303
ΔE00 2.94
Puke Brown
#947706
ΔE00 3.65
Yellowish Brown
#9B7A01
ΔE00 3.70
Hazel
#8E7618
ΔE00 3.77
Poo
#8F7303
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97801F #1F3697
analogous
#97441F #97801F #72971F
triadic
#97801F #1F9780 #801F97
tetradic
#97801F #1F9744 #1F3697 #971F72
square
#97801F #1F9744 #1F3697 #971F72
split-complementary
#97801F #1F7297 #441F97
monochromatic
#312A0A #645515 #97801F #CAAB29 #DCC254
Accessibility & contrast
On white
3.87
#97801F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#97801F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97801F
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97801F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97801F | 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)
#8E7D09
Deuteranopia (green-blind)
#948425
Tritanopia (blue-blind)
#A4756E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #97801f; /* rgb */ color: rgb(151, 128, 31); /* oklch */ color: oklch(60.4% 0.114 94.9);
Tailwind
colors: {
custom: {
50: '#baa463',
500: '#97801f',
950: '#000000',
},
}SCSS
$custom: #97801f; $custom-light: #baa463; $custom-dark: #000000;
JSON
{
"hex": "#97801f",
"rgb": {
"r": 151,
"g": 128,
"b": 31
},
"hsl": {
"h": 48.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.60433,
"c": 0.11353,
"h": 94.9
},
"luminance": 0.22117
}Semantic roles & 50–950 ramp
primary
#97801F
secondary
#5267BF
accent
#5FE93F
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A