#97862E#97862E
#97862E is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.9% C 0.108 H 98.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #97862E |
|---|---|
| RGB | rgb(151, 134, 46) |
| HSL | hsl(50, 53%, 39%) |
| HSV | hsv(50, 70%, 59%) |
| CMYK | cmyk(0%, 11.3%, 69.5%, 40.8%) |
| CIE-LAB | lab(55.91, -4.00, 47.73) |
| CIE-LCH | lch(55.91, 47.90, 94.79°) |
| OKLab | oklab(61.86% -0.0154 0.1072) |
| OKLCH | oklch(61.86% 0.108 98.2) |
| XYZ | xyz(21.7817, 23.8278, 6.0361) |
| Luminance | 0.2383 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.65
Baby Poop
#937C00
ΔE00 4.78
Dark Mustard
#A88905
ΔE00 5.80
Hazel
#8E7618
ΔE00 6.02
Dark Khaki
#9B8F55
ΔE00 6.30
Puke Brown
#947706
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97862E #2E3F97
analogous
#97512E #97862E #73972E
triadic
#97862E #2E9786 #862E97
tetradic
#97862E #2E9751 #2E3F97 #972E73
square
#97862E #2E9751 #2E3F97 #972E73
split-complementary
#97862E #2E7397 #512E97
monochromatic
#393311 #685C20 #97862E #C4AE3E #D2C26D
Accessibility & contrast
On white
3.64
#97862E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#97862E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97862E
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97862E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97862E | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938322
Deuteranopia (green-blind)
#988933
Tritanopia (blue-blind)
#A37C74
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #97862e; /* rgb */ color: rgb(151, 134, 46); /* oklch */ color: oklch(61.9% 0.108 98.2);
Tailwind
colors: {
custom: {
50: '#b9a86c',
500: '#97862e',
950: '#000000',
},
}SCSS
$custom: #97862e; $custom-light: #b9a86c; $custom-dark: #000000;
JSON
{
"hex": "#97862e",
"rgb": {
"r": 151,
"g": 134,
"b": 46
},
"hsl": {
"h": 50.286,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.61861,
"c": 0.10826,
"h": 98.2
},
"luminance": 0.23827
}Semantic roles & 50–950 ramp
primary
#97862E
secondary
#6774BA
accent
#63DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A