#8A771E#8A771E
#8A771E is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.106 H 96.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8A771E |
|---|---|
| RGB | rgb(138, 119, 30) |
| HSL | hsl(49, 64%, 33%) |
| HSV | hsv(49, 78%, 54%) |
| CMYK | cmyk(0%, 13.8%, 78.3%, 45.9%) |
| CIE-LAB | lab(50.32, -2.45, 48.29) |
| CIE-LCH | lch(50.32, 48.35, 92.90°) |
| OKLab | oklab(57.1% -0.012 0.1057) |
| OKLCH | oklch(57.1% 0.106 96.5) |
| XYZ | xyz(17.3133, 18.6916, 3.9240) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.71
Poo
#8F7303
ΔE00 3.43
Baby Poop
#937C00
ΔE00 3.66
Puke Brown
#947706
ΔE00 3.71
Ugly Brown
#7D7103
ΔE00 4.01
Yellowish Brown
#9B7A01
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A771E #1E318A
analogous
#8A411E #8A771E #678A1E
triadic
#8A771E #1E8A77 #771E8A
tetradic
#8A771E #1E8A41 #1E318A #8A1E67
square
#8A771E #1E8A41 #1E318A #8A1E67
split-complementary
#8A771E #1E678A #411E8A
monochromatic
#252008 #584C13 #8A771E #BCA229 #D8BF4B
Accessibility & contrast
On white
4.43
#8A771E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#8A771E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A771E
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A771E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A771E | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#897A24
Tritanopia (blue-blind)
#956D66
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8a771e; /* rgb */ color: rgb(138, 119, 30); /* oklch */ color: oklch(57.1% 0.106 96.5);
Tailwind
colors: {
custom: {
50: '#b09d61',
500: '#8a771e',
950: '#000000',
},
}SCSS
$custom: #8a771e; $custom-light: #b09d61; $custom-dark: #000000;
JSON
{
"hex": "#8a771e",
"rgb": {
"r": 138,
"g": 119,
"b": 30
},
"hsl": {
"h": 49.444,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.57097,
"c": 0.10641,
"h": 96.5
},
"luminance": 0.18691
}Semantic roles & 50–950 ramp
primary
#8A771E
secondary
#4A5DBA
accent
#5EE741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A