#8E751F#8E751F
#8E751F is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.1% C 0.105 H 91.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8E751F |
|---|---|
| RGB | rgb(142, 117, 31) |
| HSL | hsl(46, 64%, 34%) |
| HSV | hsv(46, 78%, 56%) |
| CMYK | cmyk(0%, 17.6%, 78.2%, 44.3%) |
| CIE-LAB | lab(50.18, 0.60, 47.93) |
| CIE-LCH | lch(50.18, 47.93, 89.28°) |
| OKLab | oklab(57.08% -0.0034 0.105) |
| OKLCH | oklch(57.08% 0.105 91.9) |
| XYZ | xyz(17.7650, 18.5734, 3.9454) |
| Luminance | 0.1857 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.05
Poo
#8F7303
ΔE00 2.29
Puke Brown
#947706
ΔE00 2.70
Baby Poop
#937C00
ΔE00 4.08
Yellowish Brown
#9B7A01
ΔE00 4.32
Muddy Brown
#886806
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E751F #1F388E
analogous
#8E3D1F #8E751F #708E1F
triadic
#8E751F #1F8E75 #751F8E
tetradic
#8E751F #1F8E3D #1F388E #8E1F70
square
#8E751F #1F8E3D #1F388E #8E1F70
split-complementary
#8E751F #1F708E #3D1F8E
monochromatic
#2A2209 #5C4C14 #8E751F #C09E2A #D9BA4F
Accessibility & contrast
On white
4.45
#8E751F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#8E751F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E751F
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E751F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E751F | 1.00 | 4.45 | 4.71 | 4.71 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83730F
Deuteranopia (green-blind)
#897A24
Tritanopia (blue-blind)
#9A6B64
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8e751f; /* rgb */ color: rgb(142, 117, 31); /* oklch */ color: oklch(57.1% 0.105 91.9);
Tailwind
colors: {
custom: {
50: '#b39c62',
500: '#8e751f',
950: '#000000',
},
}SCSS
$custom: #8e751f; $custom-light: #b39c62; $custom-dark: #000000;
JSON
{
"hex": "#8e751f",
"rgb": {
"r": 142,
"g": 117,
"b": 31
},
"hsl": {
"h": 46.486,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.57084,
"c": 0.10504,
"h": 91.9
},
"luminance": 0.18572
}Semantic roles & 50–950 ramp
primary
#8E751F
secondary
#4D66BB
accent
#66E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A