#8E781A#8E781A
#8E781A is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.110 H 94.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8E781A |
|---|---|
| RGB | rgb(142, 120, 26) |
| HSL | hsl(49, 69%, 33%) |
| HSV | hsv(49, 82%, 56%) |
| CMYK | cmyk(0%, 15.5%, 81.7%, 44.3%) |
| CIE-LAB | lab(50.99, -1.30, 50.47) |
| CIE-LCH | lch(50.99, 50.48, 91.48°) |
| OKLab | oklab(57.71% -0.0093 0.1093) |
| OKLCH | oklch(57.71% 0.11 94.9) |
| XYZ | xyz(18.0593, 19.2594, 3.7433) |
| Luminance | 0.1926 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.92
Puke Brown
#947706
ΔE00 2.53
Poo
#8F7303
ΔE00 2.67
Baby Poop
#937C00
ΔE00 2.67
Yellowish Brown
#9B7A01
ΔE00 4.10
Ugly Brown
#7D7103
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E781A #1A308E
analogous
#8E3E1A #8E781A #6A8E1A
triadic
#8E781A #1A8E78 #781A8E
tetradic
#8E781A #1A8E3E #1A308E #8E1A6A
square
#8E781A #1A8E3E #1A308E #8E1A6A
split-complementary
#8E781A #1A6A8E #3E1A8E
monochromatic
#272107 #5A4C11 #8E781A #C2A423 #DDC045
Accessibility & contrast
On white
4.33
#8E781A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#8E781A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E781A
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E781A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E781A | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867603
Deuteranopia (green-blind)
#8B7C21
Tritanopia (blue-blind)
#9A6E67
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8e781a; /* rgb */ color: rgb(142, 120, 26); /* oklch */ color: oklch(57.7% 0.110 94.9);
Tailwind
colors: {
custom: {
50: '#b39e60',
500: '#8e781a',
950: '#000000',
},
}SCSS
$custom: #8e781a; $custom-light: #b39e60; $custom-dark: #000000;
JSON
{
"hex": "#8e781a",
"rgb": {
"r": 142,
"g": 120,
"b": 26
},
"hsl": {
"h": 48.621,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.57711,
"c": 0.10973,
"h": 94.9
},
"luminance": 0.19258
}Semantic roles & 50–950 ramp
primary
#8E781A
secondary
#455CBE
accent
#5DEC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79