#8E781E#8E781E
#8E781E is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.108 H 94.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8E781E |
|---|---|
| RGB | rgb(142, 120, 30) |
| HSL | hsl(48, 65%, 34%) |
| HSV | hsv(48, 79%, 56%) |
| CMYK | cmyk(0%, 15.5%, 78.9%, 44.3%) |
| CIE-LAB | lab(51.01, -1.14, 49.08) |
| CIE-LCH | lch(51.01, 49.09, 91.33°) |
| OKLab | oklab(57.74% -0.0085 0.1072) |
| OKLCH | oklch(57.74% 0.108 94.5) |
| XYZ | xyz(18.1071, 19.2785, 3.9954) |
| Luminance | 0.1928 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.98
Puke Brown
#947706
ΔE00 2.75
Poo
#8F7303
ΔE00 2.86
Baby Poop
#937C00
ΔE00 3.03
Yellowish Brown
#9B7A01
ΔE00 4.27
Ugly Brown
#7D7103
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E781E #1E348E
analogous
#8E401E #8E781E #6C8E1E
triadic
#8E781E #1E8E78 #781E8E
tetradic
#8E781E #1E8E40 #1E348E #8E1E6C
square
#8E781E #1E8E40 #1E348E #8E1E6C
split-complementary
#8E781E #1E6C8E #401E8E
monochromatic
#292309 #5B4D13 #8E781E #C1A329 #D9BE4D
Accessibility & contrast
On white
4.33
#8E781E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#8E781E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E781E
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E781E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E781E | 1.00 | 4.33 | 4.86 | 4.86 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85760C
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#9A6E67
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8e781e; /* rgb */ color: rgb(142, 120, 30); /* oklch */ color: oklch(57.7% 0.108 94.5);
Tailwind
colors: {
custom: {
50: '#b39e62',
500: '#8e781e',
950: '#000000',
},
}SCSS
$custom: #8e781e; $custom-light: #b39e62; $custom-dark: #000000;
JSON
{
"hex": "#8e781e",
"rgb": {
"r": 142,
"g": 120,
"b": 30
},
"hsl": {
"h": 48.214,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.57735,
"c": 0.10756,
"h": 94.5
},
"luminance": 0.19277
}Semantic roles & 50–950 ramp
primary
#8E781E
secondary
#4C62BC
accent
#61E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A