#97862F#97862F
#97862F is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.9% C 0.107 H 98.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #97862F |
|---|---|
| RGB | rgb(151, 134, 47) |
| HSL | hsl(50, 53%, 39%) |
| HSV | hsv(50, 69%, 59%) |
| CMYK | cmyk(0%, 11.3%, 68.9%, 40.8%) |
| CIE-LAB | lab(55.92, -3.94, 47.31) |
| CIE-LCH | lch(55.92, 47.47, 94.76°) |
| OKLab | oklab(61.87% -0.0151 0.1064) |
| OKLCH | oklch(61.87% 0.107 98.1) |
| XYZ | xyz(21.8017, 23.8358, 6.1412) |
| Luminance | 0.2384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.74
Baby Poop
#937C00
ΔE00 4.86
Dark Mustard
#A88905
ΔE00 5.87
Hazel
#8E7618
ΔE00 6.04
Dark Khaki
#9B8F55
ΔE00 6.19
Puke Brown
#947706
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97862F #2F4097
analogous
#97522F #97862F #74972F
triadic
#97862F #2F9786 #862F97
tetradic
#97862F #2F9752 #2F4097 #972F74
square
#97862F #2F9752 #2F4097 #972F74
split-complementary
#97862F #2F7497 #522F97
monochromatic
#3A3312 #685D20 #97862F #C3AE40 #D2C26E
Accessibility & contrast
On white
3.64
#97862F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#97862F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97862F
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97862F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97862F | 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)
#938324
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#A37C74
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #97862f; /* rgb */ color: rgb(151, 134, 47); /* oklch */ color: oklch(61.9% 0.107 98.1);
Tailwind
colors: {
custom: {
50: '#b9a86c',
500: '#97862f',
950: '#000000',
},
}SCSS
$custom: #97862f; $custom-light: #b9a86c; $custom-dark: #000000;
JSON
{
"hex": "#97862f",
"rgb": {
"r": 151,
"g": 134,
"b": 47
},
"hsl": {
"h": 50.192,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.6187,
"c": 0.10749,
"h": 98.1
},
"luminance": 0.23835
}Semantic roles & 50–950 ramp
primary
#97862F
secondary
#6876B9
accent
#63DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A