#97851E#97851E
#97851E is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.5% C 0.118 H 98.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #97851E |
|---|---|
| RGB | rgb(151, 133, 30) |
| HSL | hsl(51, 67%, 35%) |
| HSV | hsv(51, 80%, 59%) |
| CMYK | cmyk(0%, 11.9%, 80.1%, 40.8%) |
| CIE-LAB | lab(55.53, -4.22, 53.53) |
| CIE-LCH | lch(55.53, 53.70, 94.51°) |
| OKLab | oklab(61.52% -0.0177 0.1163) |
| OKLCH | oklch(61.52% 0.118 98.7) |
| XYZ | xyz(21.3855, 23.4492, 4.6278) |
| Luminance | 0.2345 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.41
Baby Poop
#937C00
ΔE00 3.58
Dark Mustard
#A88905
ΔE00 4.86
Baby Poo
#AB9004
ΔE00 5.64
Yellowish Brown
#9B7A01
ΔE00 5.65
Hazel
#8E7618
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97851E #1E3097
analogous
#97481E #97851E #6D971E
triadic
#97851E #1E9785 #851E97
tetradic
#97851E #1E9748 #1E3097 #971E6D
square
#97851E #1E9748 #1E3097 #971E6D
split-complementary
#97851E #1E6D97 #481E97
monochromatic
#312B0A #645814 #97851E #CAB228 #DDC853
Accessibility & contrast
On white
3.69
#97851E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#97851E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97851E
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97851E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97851E | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#A37A72
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #97851e; /* rgb */ color: rgb(151, 133, 30); /* oklch */ color: oklch(61.5% 0.118 98.7);
Tailwind
colors: {
custom: {
50: '#b9a863',
500: '#97851e',
950: '#000000',
},
}SCSS
$custom: #97851e; $custom-light: #b9a863; $custom-dark: #000000;
JSON
{
"hex": "#97851e",
"rgb": {
"r": 151,
"g": 133,
"b": 30
},
"hsl": {
"h": 51.074,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.61524,
"c": 0.11767,
"h": 98.7
},
"luminance": 0.23448
}Semantic roles & 50–950 ramp
primary
#97851E
secondary
#5161C0
accent
#58EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A