#8E7915#8E7915
#8E7915 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.113 H 96.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7915 |
|---|---|
| RGB | rgb(142, 121, 21) |
| HSL | hsl(50, 74%, 32%) |
| HSV | hsv(50, 85%, 56%) |
| CMYK | cmyk(0%, 14.8%, 85.2%, 44.3%) |
| CIE-LAB | lab(51.24, -2.03, 52.26) |
| CIE-LCH | lch(51.24, 52.30, 92.23°) |
| OKLab | oklab(57.9% -0.0119 0.1121) |
| OKLCH | oklch(57.9% 0.113 96) |
| XYZ | xyz(18.1291, 19.4807, 3.5146) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.53
Baby Poop
#937C00
ΔE00 2.09
Puke Brown
#947706
ΔE00 2.65
Poo
#8F7303
ΔE00 2.95
Yellowish Brown
#9B7A01
ΔE00 4.11
Ugly Brown
#7D7103
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7915 #152A8E
analogous
#8E3D15 #8E7915 #678E15
triadic
#8E7915 #158E79 #79158E
tetradic
#8E7915 #158E3D #152A8E #8E1567
square
#8E7915 #158E3D #152A8E #8E1567
split-complementary
#8E7915 #15678E #3D158E
monochromatic
#231E05 #594C0D #8E7915 #C3A61D #E2C53B
Accessibility & contrast
On white
4.29
#8E7915 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#8E7915 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7915
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7915 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7915 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#8C7D1D
Tritanopia (blue-blind)
#9A6F67
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8e7915; /* rgb */ color: rgb(142, 121, 21); /* oklch */ color: oklch(57.9% 0.113 96.0);
Tailwind
colors: {
custom: {
50: '#b39f5e',
500: '#8e7915',
950: '#000000',
},
}SCSS
$custom: #8e7915; $custom-light: #b39f5e; $custom-dark: #000000;
JSON
{
"hex": "#8e7915",
"rgb": {
"r": 142,
"g": 121,
"b": 21
},
"hsl": {
"h": 49.587,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.57905,
"c": 0.11277,
"h": 96
},
"luminance": 0.1948
}Semantic roles & 50–950 ramp
primary
#8E7915
secondary
#3D54C2
accent
#57F137
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79