#97862B#97862B
#97862B is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.110 H 98.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #97862B |
|---|---|
| RGB | rgb(151, 134, 43) |
| HSL | hsl(51, 56%, 38%) |
| HSV | hsv(51, 72%, 59%) |
| CMYK | cmyk(0%, 11.3%, 71.5%, 40.8%) |
| CIE-LAB | lab(55.89, -4.17, 48.98) |
| CIE-LCH | lch(55.89, 49.16, 94.87°) |
| OKLab | oklab(61.84% -0.0162 0.1093) |
| OKLCH | oklch(61.84% 0.11 98.4) |
| XYZ | xyz(21.7247, 23.8050, 5.7355) |
| Luminance | 0.2380 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.40
Baby Poop
#937C00
ΔE00 4.55
Dark Mustard
#A88905
ΔE00 5.58
Hazel
#8E7618
ΔE00 5.99
Baby Poo
#AB9004
ΔE00 6.26
Puke Brown
#947706
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97862B #2B3C97
analogous
#97502B #97862B #72972B
triadic
#97862B #2B9786 #862B97
tetradic
#97862B #2B9750 #2B3C97 #972B72
square
#97862B #2B9750 #2B3C97 #972B72
split-complementary
#97862B #2B7297 #502B97
monochromatic
#383110 #675C1D #97862B #C7B039 #D4C368
Accessibility & contrast
On white
3.65
#97862B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#97862B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97862B
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97862B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97862B | 1.00 | 3.65 | 5.76 | 5.76 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93831E
Deuteranopia (green-blind)
#988830
Tritanopia (blue-blind)
#A37C74
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #97862b; /* rgb */ color: rgb(151, 134, 43); /* oklch */ color: oklch(61.8% 0.110 98.4);
Tailwind
colors: {
custom: {
50: '#b9a86a',
500: '#97862b',
950: '#000000',
},
}SCSS
$custom: #97862b; $custom-light: #b9a86a; $custom-dark: #000000;
JSON
{
"hex": "#97862b",
"rgb": {
"r": 151,
"g": 134,
"b": 43
},
"hsl": {
"h": 50.556,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.61836,
"c": 0.11044,
"h": 98.4
},
"luminance": 0.23804
}Semantic roles & 50–950 ramp
primary
#97862B
secondary
#6371BB
accent
#60DF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A