#8A7F37#8A7F37
#8A7F37 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.094 H 100.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7F37 |
|---|---|
| RGB | rgb(138, 127, 55) |
| HSL | hsl(52, 43%, 38%) |
| HSV | hsv(52, 60%, 54%) |
| CMYK | cmyk(0%, 8%, 60.1%, 45.9%) |
| CIE-LAB | lab(52.79, -5.41, 39.84) |
| CIE-LCH | lch(52.79, 40.21, 97.73°) |
| OKLab | oklab(59.12% -0.0174 0.0922) |
| OKLCH | oklch(59.12% 0.094 100.7) |
| XYZ | xyz(18.7609, 20.8586, 6.6516) |
| Luminance | 0.2086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.53
Hazel
#8E7618
ΔE00 5.82
Olive
#808000
ΔE00 6.32
Baby Poop
#937C00
ΔE00 6.50
Dark Khaki
#9B8F55
ΔE00 6.66
Ugly Brown
#7D7103
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7F37 #37428A
analogous
#8A5537 #8A7F37 #6B8A37
triadic
#8A7F37 #378A7F #7F378A
tetradic
#8A7F37 #378A55 #37428A #8A376B
square
#8A7F37 #378A55 #37428A #8A376B
split-complementary
#8A7F37 #376B8A #55378A
monochromatic
#322E14 #5E5726 #8A7F37 #B6A748 #C8BC74
Accessibility & contrast
On white
4.06
#8A7F37 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#8A7F37 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7F37
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7F37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7F37 | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7B30
Deuteranopia (green-blind)
#8D803B
Tritanopia (blue-blind)
#94776F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8a7f37; /* rgb */ color: rgb(138, 127, 55); /* oklch */ color: oklch(59.1% 0.094 100.7);
Tailwind
colors: {
custom: {
50: '#aea371',
500: '#8a7f37',
950: '#000000',
},
}SCSS
$custom: #8a7f37; $custom-light: #aea371; $custom-dark: #000000;
JSON
{
"hex": "#8a7f37",
"rgb": {
"r": 138,
"g": 127,
"b": 55
},
"hsl": {
"h": 52.048,
"s": 43.005,
"l": 37.843
},
"oklch": {
"l": 0.5912,
"c": 0.09381,
"h": 100.7
},
"luminance": 0.20858
}Semantic roles & 50–950 ramp
primary
#8A7F37
secondary
#6D75B0
accent
#66D355
background
#FBFAF6
surface
#F6F3EC
border
#D0CDC7
text
#110F08
muted
#807F7B