#97841F#97841F
#97841F is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.3% C 0.116 H 97.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #97841F |
|---|---|
| RGB | rgb(151, 132, 31) |
| HSL | hsl(51, 66%, 36%) |
| HSV | hsv(51, 79%, 59%) |
| CMYK | cmyk(0%, 12.6%, 79.5%, 40.8%) |
| CIE-LAB | lab(55.26, -3.63, 52.95) |
| CIE-LCH | lch(55.26, 53.07, 93.92°) |
| OKLab | oklab(61.31% -0.0159 0.1153) |
| OKLCH | oklch(61.31% 0.116 97.9) |
| XYZ | xyz(21.2622, 23.1819, 4.6507) |
| Luminance | 0.2318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.23
Baby Poop
#937C00
ΔE00 3.27
Dark Mustard
#A88905
ΔE00 4.83
Yellowish Brown
#9B7A01
ΔE00 5.25
Hazel
#8E7618
ΔE00 5.27
Puke Brown
#947706
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97841F #1F3297
analogous
#97481F #97841F #6E971F
triadic
#97841F #1F9784 #841F97
tetradic
#97841F #1F9748 #1F3297 #971F6E
square
#97841F #1F9748 #1F3297 #971F6E
split-complementary
#97841F #1F6E97 #481F97
monochromatic
#312B0A #645815 #97841F #CAB029 #DCC754
Accessibility & contrast
On white
3.73
#97841F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#97841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97841F
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97841F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97841F | 1.00 | 3.73 | 5.64 | 5.64 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928107
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#A37971
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #97841f; /* rgb */ color: rgb(151, 132, 31); /* oklch */ color: oklch(61.3% 0.116 97.9);
Tailwind
colors: {
custom: {
50: '#b9a764',
500: '#97841f',
950: '#000000',
},
}SCSS
$custom: #97841f; $custom-light: #b9a764; $custom-dark: #000000;
JSON
{
"hex": "#97841f",
"rgb": {
"r": 151,
"g": 132,
"b": 31
},
"hsl": {
"h": 50.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.6131,
"c": 0.11638,
"h": 97.9
},
"luminance": 0.23181
}Semantic roles & 50–950 ramp
primary
#97841F
secondary
#5264BF
accent
#5AE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A