#8A773C#8A773C
#8A773C is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.4% C 0.082 H 91.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8A773C |
|---|---|
| RGB | rgb(138, 119, 60) |
| HSL | hsl(45, 39%, 39%) |
| HSV | hsv(45, 57%, 54%) |
| CMYK | cmyk(0%, 13.8%, 56.5%, 45.9%) |
| CIE-LAB | lab(50.60, -0.49, 34.76) |
| CIE-LCH | lch(50.60, 34.77, 90.81°) |
| OKLab | oklab(57.4% -0.0026 0.0818) |
| OKLCH | oklch(57.4% 0.082 91.8) |
| XYZ | xyz(17.8944, 18.9240, 6.9842) |
| Luminance | 0.1892 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 5.44
Dirt
#8A6E45
ΔE00 6.67
Poo
#8F7303
ΔE00 6.92
Puke Brown
#947706
ΔE00 7.13
Ugly Brown
#7D7103
ΔE00 7.59
Dull Brown
#876E4B
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A773C #3C4F8A
analogous
#8A503C #8A773C #768A3C
triadic
#8A773C #3C8A77 #773C8A
tetradic
#8A773C #3C8A50 #3C4F8A #8A3C76
square
#8A773C #3C8A50 #3C4F8A #8A3C76
split-complementary
#8A773C #3C768A #503C8A
monochromatic
#352D17 #5F5229 #8A773C #B39B50 #C6B37B
Accessibility & contrast
On white
4.39
#8A773C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#8A773C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A773C
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A773C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A773C | 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)
#827537
Deuteranopia (green-blind)
#877B3E
Tritanopia (blue-blind)
#946F69
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8a773c; /* rgb */ color: rgb(138, 119, 60); /* oklch */ color: oklch(57.4% 0.082 91.8);
Tailwind
colors: {
custom: {
50: '#ae9e73',
500: '#8a773c',
950: '#000000',
},
}SCSS
$custom: #8a773c; $custom-light: #ae9e73; $custom-dark: #000000;
JSON
{
"hex": "#8a773c",
"rgb": {
"r": 138,
"g": 119,
"b": 60
},
"hsl": {
"h": 45.385,
"s": 39.394,
"l": 38.824
},
"oklch": {
"l": 0.57401,
"c": 0.08186,
"h": 91.8
},
"luminance": 0.18923
}Semantic roles & 50–950 ramp
primary
#8A773C
secondary
#7381AF
accent
#75CF59
background
#FAF9F7
surface
#F5F2ED
border
#CFCCC8
text
#110E08
muted
#807E7B