#8E781D#8E781D
#8E781D is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.108 H 94.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8E781D |
|---|---|
| RGB | rgb(142, 120, 29) |
| HSL | hsl(48, 66%, 34%) |
| HSV | hsv(48, 80%, 56%) |
| CMYK | cmyk(0%, 15.5%, 79.6%, 44.3%) |
| CIE-LAB | lab(51.01, -1.18, 49.44) |
| CIE-LCH | lch(51.01, 49.45, 91.37°) |
| OKLab | oklab(57.73% -0.0087 0.1078) |
| OKLCH | oklch(57.73% 0.108 94.6) |
| XYZ | xyz(18.0946, 19.2735, 3.9292) |
| Luminance | 0.1927 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.95
Puke Brown
#947706
ΔE00 2.69
Poo
#8F7303
ΔE00 2.81
Baby Poop
#937C00
ΔE00 2.93
Yellowish Brown
#9B7A01
ΔE00 4.22
Ugly Brown
#7D7103
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E781D #1D338E
analogous
#8E3F1D #8E781D #6B8E1D
triadic
#8E781D #1D8E78 #781D8E
tetradic
#8E781D #1D8E3F #1D338E #8E1D6B
square
#8E781D #1D8E3F #1D338E #8E1D6B
split-complementary
#8E781D #1D6B8E #3F1D8E
monochromatic
#282208 #5B4D13 #8E781D #C1A327 #DABE4B
Accessibility & contrast
On white
4.33
#8E781D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#8E781D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E781D
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E781D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E781D | 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)
#857609
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#9A6E67
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8e781d; /* rgb */ color: rgb(142, 120, 29); /* oklch */ color: oklch(57.7% 0.108 94.6);
Tailwind
colors: {
custom: {
50: '#b39e61',
500: '#8e781d',
950: '#000000',
},
}SCSS
$custom: #8e781d; $custom-light: #b39e61; $custom-dark: #000000;
JSON
{
"hex": "#8e781d",
"rgb": {
"r": 142,
"g": 120,
"b": 29
},
"hsl": {
"h": 48.319,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.57729,
"c": 0.10812,
"h": 94.6
},
"luminance": 0.19272
}Semantic roles & 50–950 ramp
primary
#8E781D
secondary
#4A60BD
accent
#60E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A