#8E7E25#8E7E25
#8E7E25 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.108 H 98.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7E25 |
|---|---|
| RGB | rgb(142, 126, 37) |
| HSL | hsl(51, 59%, 35%) |
| HSV | hsv(51, 74%, 56%) |
| CMYK | cmyk(0%, 11.3%, 73.9%, 44.3%) |
| CIE-LAB | lab(52.74, -4.18, 48.02) |
| CIE-LCH | lch(52.74, 48.20, 94.98°) |
| OKLab | oklab(59.12% -0.0164 0.1064) |
| OKLCH | oklch(59.12% 0.108 98.7) |
| XYZ | xyz(18.9510, 20.8070, 4.7678) |
| Luminance | 0.2081 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.49
Hazel
#8E7618
ΔE00 3.67
Puke Brown
#947706
ΔE00 4.86
Poo
#8F7303
ΔE00 5.41
Diarrhea
#9F8303
ΔE00 5.45
Olive
#808000
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7E25 #25358E
analogous
#8E4925 #8E7E25 #6A8E25
triadic
#8E7E25 #258E7E #7E258E
tetradic
#8E7E25 #258E49 #25358E #8E256A
square
#8E7E25 #258E49 #25358E #8E256A
split-complementary
#8E7E25 #256A8E #49258E
monochromatic
#2D280C #5D5318 #8E7E25 #BFA932 #D4C15A
Accessibility & contrast
On white
4.07
#8E7E25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#8E7E25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7E25
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7E25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7E25 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B17
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#99746C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8e7e25; /* rgb */ color: rgb(142, 126, 37); /* oklch */ color: oklch(59.1% 0.108 98.7);
Tailwind
colors: {
custom: {
50: '#b2a366',
500: '#8e7e25',
950: '#000000',
},
}SCSS
$custom: #8e7e25; $custom-light: #b2a366; $custom-dark: #000000;
JSON
{
"hex": "#8e7e25",
"rgb": {
"r": 142,
"g": 126,
"b": 37
},
"hsl": {
"h": 50.857,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.59116,
"c": 0.10766,
"h": 98.7
},
"luminance": 0.20806
}Semantic roles & 50–950 ramp
primary
#8E7E25
secondary
#5665B9
accent
#5EE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A