#8E7218#8E7218
#8E7218 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.4% C 0.107 H 90.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7218 |
|---|---|
| RGB | rgb(142, 114, 24) |
| HSL | hsl(46, 71%, 33%) |
| HSV | hsv(46, 83%, 56%) |
| CMYK | cmyk(0%, 19.7%, 83.1%, 44.3%) |
| CIE-LAB | lab(49.32, 2.03, 49.66) |
| CIE-LCH | lch(49.32, 49.70, 87.65°) |
| OKLab | oklab(56.39% -0.0001 0.1071) |
| OKLCH | oklch(56.39% 0.107 90) |
| XYZ | xyz(17.3386, 17.8525, 3.3966) |
| Luminance | 0.1785 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Poo
#8F7303
ΔE00 1.73
Hazel
#8E7618
ΔE00 1.94
Puke Brown
#947706
ΔE00 2.73
Muddy Brown
#886806
ΔE00 3.82
Yellowish Brown
#9B7A01
ΔE00 4.35
Baby Poop
#937C00
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7218 #18348E
analogous
#8E3718 #8E7218 #6F8E18
triadic
#8E7218 #188E72 #72188E
tetradic
#8E7218 #188E37 #18348E #8E186F
square
#8E7218 #188E37 #18348E #8E186F
split-complementary
#8E7218 #186F8E #37188E
monochromatic
#251E06 #5A480F #8E7218 #C29C21 #DFBA41
Accessibility & contrast
On white
4.59
#8E7218 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#8E7218 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8E7218
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E7218 | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807102
Deuteranopia (green-blind)
#87781E
Tritanopia (blue-blind)
#9A6761
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8e7218; /* rgb */ color: rgb(142, 114, 24); /* oklch */ color: oklch(56.4% 0.107 90.0);
Tailwind
colors: {
custom: {
50: '#b39a5e',
500: '#8e7218',
950: '#000000',
},
}SCSS
$custom: #8e7218; $custom-light: #b39a5e; $custom-dark: #000000;
JSON
{
"hex": "#8e7218",
"rgb": {
"r": 142,
"g": 114,
"b": 24
},
"hsl": {
"h": 45.763,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.56387,
"c": 0.10713,
"h": 90
},
"luminance": 0.17851
}Semantic roles & 50–950 ramp
primary
#8E7218
secondary
#4260C0
accent
#65EE3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79