#8A773A#8A773A
#8A773A is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.4% C 0.084 H 92.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8A773A |
|---|---|
| RGB | rgb(138, 119, 58) |
| HSL | hsl(46, 41%, 38%) |
| HSV | hsv(46, 58%, 54%) |
| CMYK | cmyk(0%, 13.8%, 58%, 45.9%) |
| CIE-LAB | lab(50.57, -0.66, 35.78) |
| CIE-LCH | lch(50.57, 35.79, 91.06°) |
| OKLab | oklab(57.37% -0.0034 0.0838) |
| OKLCH | oklch(57.37% 0.084 92.3) |
| XYZ | xyz(17.8425, 18.9033, 6.7110) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 5.06
Poo
#8F7303
ΔE00 6.57
Puke Brown
#947706
ΔE00 6.79
Dirt
#8A6E45
ΔE00 6.97
Ugly Brown
#7D7103
ΔE00 7.23
Baby Poop
#937C00
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A773A #3A4D8A
analogous
#8A4F3A #8A773A #758A3A
triadic
#8A773A #3A8A77 #773A8A
tetradic
#8A773A #3A8A4F #3A4D8A #8A3A75
square
#8A773A #3A8A4F #3A4D8A #8A3A75
split-complementary
#8A773A #3A758A #4F3A8A
monochromatic
#342D16 #5F5228 #8A773A #B49C4D #C6B478
Accessibility & contrast
On white
4.39
#8A773A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#8A773A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A773A
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A773A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A773A | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827534
Deuteranopia (green-blind)
#877B3C
Tritanopia (blue-blind)
#946F69
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8a773a; /* rgb */ color: rgb(138, 119, 58); /* oklch */ color: oklch(57.4% 0.084 92.3);
Tailwind
colors: {
custom: {
50: '#ae9e72',
500: '#8a773a',
950: '#000000',
},
}SCSS
$custom: #8a773a; $custom-light: #ae9e72; $custom-dark: #000000;
JSON
{
"hex": "#8a773a",
"rgb": {
"r": 138,
"g": 119,
"b": 58
},
"hsl": {
"h": 45.75,
"s": 40.816,
"l": 38.431
},
"oklch": {
"l": 0.57374,
"c": 0.08388,
"h": 92.3
},
"luminance": 0.18902
}Semantic roles & 50–950 ramp
primary
#8A773A
secondary
#707FB0
accent
#74D157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110E08
muted
#807E7B