#8E8A36#8E8A36
#8E8A36 is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.106 H 106.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8A36 |
|---|---|
| RGB | rgb(142, 138, 54) |
| HSL | hsl(57, 45%, 38%) |
| HSV | hsv(57, 62%, 56%) |
| CMYK | cmyk(0%, 2.8%, 62%, 44.3%) |
| CIE-LAB | lab(56.28, -9.72, 44.28) |
| CIE-LCH | lch(56.28, 45.34, 102.38°) |
| OKLab | oklab(61.98% -0.0301 0.1014) |
| OKLCH | oklch(61.98% 0.106 106.5) |
| XYZ | xyz(20.9103, 24.1947, 7.0579) |
| Luminance | 0.2419 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.95
Olive
#808000
ΔE00 5.73
Dark Khaki
#9B8F55
ΔE00 5.93
Baby Shit Green
#889717
ΔE00 6.93
Baby Poop Green
#8F9805
ΔE00 7.13
Shit Green
#758000
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8A36 #363A8E
analogous
#8E5E36 #8E8A36 #668E36
triadic
#8E8A36 #368E8A #8A368E
tetradic
#8E8A36 #368E5E #363A8E #8E3666
square
#8E8A36 #368E5E #363A8E #8E3666
split-complementary
#8E8A36 #36668E #5E368E
monochromatic
#353414 #625F25 #8E8A36 #B9B448 #CAC674
Accessibility & contrast
On white
3.60
#8E8A36 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#8E8A36 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8A36
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8A36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8A36 | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95852C
Deuteranopia (green-blind)
#97893B
Tritanopia (blue-blind)
#988178
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8e8a36; /* rgb */ color: rgb(142, 138, 54); /* oklch */ color: oklch(62.0% 0.106 106.5);
Tailwind
colors: {
custom: {
50: '#b1ab71',
500: '#8e8a36',
950: '#000000',
},
}SCSS
$custom: #8e8a36; $custom-light: #b1ab71; $custom-dark: #000000;
JSON
{
"hex": "#8e8a36",
"rgb": {
"r": 142,
"g": 138,
"b": 54
},
"hsl": {
"h": 57.273,
"s": 44.898,
"l": 38.431
},
"oklch": {
"l": 0.61977,
"c": 0.10579,
"h": 106.5
},
"luminance": 0.24194
}Semantic roles & 50–950 ramp
primary
#8E8A36
secondary
#6D70B3
accent
#59D553
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B