#8A773B#8A773B
#8A773B is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.4% C 0.083 H 92.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8A773B |
|---|---|
| RGB | rgb(138, 119, 59) |
| HSL | hsl(46, 40%, 39%) |
| HSV | hsv(46, 57%, 54%) |
| CMYK | cmyk(0%, 13.8%, 57.2%, 45.9%) |
| CIE-LAB | lab(50.59, -0.58, 35.27) |
| CIE-LCH | lch(50.59, 35.28, 90.94°) |
| OKLab | oklab(57.39% -0.003 0.0828) |
| OKLCH | oklch(57.39% 0.083 92.1) |
| XYZ | xyz(17.8682, 18.9136, 6.8463) |
| Luminance | 0.1891 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 5.25
Poo
#8F7303
ΔE00 6.74
Dirt
#8A6E45
ΔE00 6.82
Puke Brown
#947706
ΔE00 6.96
Ugly Brown
#7D7103
ΔE00 7.40
Baby Poop
#937C00
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A773B #3B4E8A
analogous
#8A4F3B #8A773B #758A3B
triadic
#8A773B #3B8A77 #773B8A
tetradic
#8A773B #3B8A4F #3B4E8A #8A3B75
square
#8A773B #3B8A4F #3B4E8A #8A3B75
split-complementary
#8A773B #3B758A #4F3B8A
monochromatic
#342D16 #5F5229 #8A773B #B49B4F #C6B479
Accessibility & contrast
On white
4.39
#8A773B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#8A773B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A773B
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A773B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A773B | 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)
#827535
Deuteranopia (green-blind)
#877B3D
Tritanopia (blue-blind)
#946F69
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8a773b; /* rgb */ color: rgb(138, 119, 59); /* oklch */ color: oklch(57.4% 0.083 92.1);
Tailwind
colors: {
custom: {
50: '#ae9e73',
500: '#8a773b',
950: '#000000',
},
}SCSS
$custom: #8a773b; $custom-light: #ae9e73; $custom-dark: #000000;
JSON
{
"hex": "#8a773b",
"rgb": {
"r": 138,
"g": 119,
"b": 59
},
"hsl": {
"h": 45.57,
"s": 40.102,
"l": 38.627
},
"oklch": {
"l": 0.57387,
"c": 0.08287,
"h": 92.1
},
"luminance": 0.18913
}Semantic roles & 50–950 ramp
primary
#8A773B
secondary
#7180AF
accent
#75D058
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110E08
muted
#807E7B