#97842F#97842F
#97842F is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.4% C 0.106 H 96.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #97842F |
|---|---|
| RGB | rgb(151, 132, 47) |
| HSL | hsl(49, 53%, 39%) |
| HSV | hsv(49, 69%, 59%) |
| CMYK | cmyk(0%, 12.6%, 68.9%, 40.8%) |
| CIE-LAB | lab(55.37, -2.84, 46.73) |
| CIE-LCH | lch(55.37, 46.82, 93.47°) |
| OKLab | oklab(61.43% -0.0119 0.1052) |
| OKLCH | oklch(61.43% 0.106 96.5) |
| XYZ | xyz(21.5279, 23.2882, 6.0499) |
| Luminance | 0.2329 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.43
Diarrhea
#9F8303
ΔE00 4.48
Hazel
#8E7618
ΔE00 5.31
Puke Brown
#947706
ΔE00 5.74
Yellowish Brown
#9B7A01
ΔE00 5.82
Dark Mustard
#A88905
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97842F #2F4297
analogous
#97502F #97842F #76972F
triadic
#97842F #2F9784 #842F97
tetradic
#97842F #2F9750 #2F4297 #972F76
square
#97842F #2F9750 #2F4297 #972F76
split-complementary
#97842F #2F7697 #502F97
monochromatic
#3A3212 #685B20 #97842F #C3AB40 #D2C06E
Accessibility & contrast
On white
3.71
#97842F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#97842F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97842F
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97842F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97842F | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918124
Deuteranopia (green-blind)
#968734
Tritanopia (blue-blind)
#A37A72
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #97842f; /* rgb */ color: rgb(151, 132, 47); /* oklch */ color: oklch(61.4% 0.106 96.5);
Tailwind
colors: {
custom: {
50: '#b9a76c',
500: '#97842f',
950: '#000000',
},
}SCSS
$custom: #97842f; $custom-light: #b9a76c; $custom-dark: #000000;
JSON
{
"hex": "#97842f",
"rgb": {
"r": 151,
"g": 132,
"b": 47
},
"hsl": {
"h": 49.038,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.61431,
"c": 0.10589,
"h": 96.5
},
"luminance": 0.23287
}Semantic roles & 50–950 ramp
primary
#97842F
secondary
#6877B9
accent
#66DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A