#8E761A#8E761A
#8E761A is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.3% C 0.108 H 93.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8E761A |
|---|---|
| RGB | rgb(142, 118, 26) |
| HSL | hsl(48, 69%, 33%) |
| HSV | hsv(48, 82%, 56%) |
| CMYK | cmyk(0%, 16.9%, 81.7%, 44.3%) |
| CIE-LAB | lab(50.43, -0.17, 49.97) |
| CIE-LCH | lch(50.43, 49.97, 90.19°) |
| OKLab | oklab(57.27% -0.0061 0.1083) |
| OKLCH | oklch(57.27% 0.108 93.2) |
| XYZ | xyz(17.8212, 18.7833, 3.6640) |
| Luminance | 0.1878 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.21
Poo
#8F7303
ΔE00 2.02
Puke Brown
#947706
ΔE00 2.26
Baby Poop
#937C00
ΔE00 3.29
Yellowish Brown
#9B7A01
ΔE00 3.99
Ugly Brown
#7D7103
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E761A #1A328E
analogous
#8E3C1A #8E761A #6C8E1A
triadic
#8E761A #1A8E76 #761A8E
tetradic
#8E761A #1A8E3C #1A328E #8E1A6C
square
#8E761A #1A8E3C #1A328E #8E1A6C
split-complementary
#8E761A #1A6C8E #3C1A8E
monochromatic
#272007 #5A4B11 #8E761A #C2A123 #DDBE45
Accessibility & contrast
On white
4.42
#8E761A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#8E761A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E761A
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E761A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E761A | 1.00 | 4.42 | 4.76 | 4.76 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847404
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#9A6C65
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8e761a; /* rgb */ color: rgb(142, 118, 26); /* oklch */ color: oklch(57.3% 0.108 93.2);
Tailwind
colors: {
custom: {
50: '#b39d5f',
500: '#8e761a',
950: '#000000',
},
}SCSS
$custom: #8e761a; $custom-light: #b39d5f; $custom-dark: #000000;
JSON
{
"hex": "#8e761a",
"rgb": {
"r": 142,
"g": 118,
"b": 26
},
"hsl": {
"h": 47.586,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.57271,
"c": 0.10843,
"h": 93.2
},
"luminance": 0.18782
}Semantic roles & 50–950 ramp
primary
#8E761A
secondary
#455EBE
accent
#60EC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79