#8E8930#8E8930
#8E8930 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.110 H 106.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8930 |
|---|---|
| RGB | rgb(142, 137, 48) |
| HSL | hsl(57, 49%, 37%) |
| HSV | hsv(57, 66%, 56%) |
| CMYK | cmyk(0%, 3.5%, 66.2%, 44.3%) |
| CIE-LAB | lab(55.94, -9.59, 46.63) |
| CIE-LCH | lch(55.94, 47.61, 101.62°) |
| OKLab | oklab(61.69% -0.0304 0.1055) |
| OKLCH | oklch(61.69% 0.11 106.1) |
| XYZ | xyz(20.6352, 23.8562, 6.3135) |
| Luminance | 0.2386 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.06
Drab
#828344
ΔE00 5.51
Dark Khaki
#9B8F55
ΔE00 6.52
Shit Green
#758000
ΔE00 6.82
Baby Shit Green
#889717
ΔE00 6.91
Baby Poop Green
#8F9805
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8930 #30358E
analogous
#8E5A30 #8E8930 #648E30
triadic
#8E8930 #308E89 #89308E
tetradic
#8E8930 #308E5A #30358E #8E3064
square
#8E8930 #308E5A #30358E #8E3064
split-complementary
#8E8930 #30648E #5A308E
monochromatic
#333111 #605D21 #8E8930 #BCB53F #CDC86B
Accessibility & contrast
On white
3.64
#8E8930 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#8E8930 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8930
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8930 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8930 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958424
Deuteranopia (green-blind)
#978835
Tritanopia (blue-blind)
#988077
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8e8930; /* rgb */ color: rgb(142, 137, 48); /* oklch */ color: oklch(61.7% 0.110 106.1);
Tailwind
colors: {
custom: {
50: '#b2ab6d',
500: '#8e8930',
950: '#000000',
},
}SCSS
$custom: #8e8930; $custom-light: #b2ab6d; $custom-dark: #000000;
JSON
{
"hex": "#8e8930",
"rgb": {
"r": 142,
"g": 137,
"b": 48
},
"hsl": {
"h": 56.809,
"s": 49.474,
"l": 37.255
},
"oklch": {
"l": 0.6169,
"c": 0.10977,
"h": 106.1
},
"luminance": 0.23856
}Semantic roles & 50–950 ramp
primary
#8E8930
secondary
#656AB4
accent
#56D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A