#97841E#97841E
#97841E is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.3% C 0.117 H 97.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #97841E |
|---|---|
| RGB | rgb(151, 132, 30) |
| HSL | hsl(51, 67%, 35%) |
| HSV | hsv(51, 80%, 59%) |
| CMYK | cmyk(0%, 12.6%, 80.1%, 40.8%) |
| CIE-LAB | lab(55.25, -3.67, 53.28) |
| CIE-LCH | lch(55.25, 53.41, 93.94°) |
| OKLab | oklab(61.3% -0.0161 0.1158) |
| OKLCH | oklch(61.3% 0.117 97.9) |
| XYZ | xyz(21.2492, 23.1767, 4.5823) |
| Luminance | 0.2318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.19
Baby Poop
#937C00
ΔE00 3.23
Dark Mustard
#A88905
ΔE00 4.79
Yellowish Brown
#9B7A01
ΔE00 5.24
Puke Brown
#947706
ΔE00 5.28
Hazel
#8E7618
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97841E #1E3197
analogous
#97481E #97841E #6D971E
triadic
#97841E #1E9784 #841E97
tetradic
#97841E #1E9748 #1E3197 #971E6D
square
#97841E #1E9748 #1E3197 #971E6D
split-complementary
#97841E #1E6D97 #481E97
monochromatic
#312B0A #645714 #97841E #CAB128 #DDC753
Accessibility & contrast
On white
3.73
#97841E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#97841E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97841E
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97841E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97841E | 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)
#928104
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#A37971
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #97841e; /* rgb */ color: rgb(151, 132, 30); /* oklch */ color: oklch(61.3% 0.117 97.9);
Tailwind
colors: {
custom: {
50: '#b9a763',
500: '#97841e',
950: '#000000',
},
}SCSS
$custom: #97841e; $custom-light: #b9a763; $custom-dark: #000000;
JSON
{
"hex": "#97841e",
"rgb": {
"r": 151,
"g": 132,
"b": 30
},
"hsl": {
"h": 50.579,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.61304,
"c": 0.11691,
"h": 97.9
},
"luminance": 0.23176
}Semantic roles & 50–950 ramp
primary
#97841E
secondary
#5162C0
accent
#59EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A