#8E8121#8E8121
#8E8121 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.113 H 101.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8121 |
|---|---|
| RGB | rgb(142, 129, 33) |
| HSL | hsl(53, 62%, 34%) |
| HSV | hsv(53, 77%, 56%) |
| CMYK | cmyk(0%, 9.2%, 76.8%, 44.3%) |
| CIE-LAB | lab(53.56, -6.04, 50.35) |
| CIE-LCH | lch(53.56, 50.71, 96.84°) |
| OKLab | oklab(59.76% -0.022 0.1106) |
| OKLCH | oklch(59.76% 0.113 101.3) |
| XYZ | xyz(19.2810, 21.5620, 4.5848) |
| Luminance | 0.2156 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.90
Olive
#808000
ΔE00 4.50
Hazel
#8E7618
ΔE00 4.98
Diarrhea
#9F8303
ΔE00 5.46
Puke Brown
#947706
ΔE00 5.88
Ugly Brown
#7D7103
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8121 #212E8E
analogous
#8E4B21 #8E8121 #658E21
triadic
#8E8121 #218E81 #81218E
tetradic
#8E8121 #218E4B #212E8E #8E2165
square
#8E8121 #218E4B #212E8E #8E2165
split-complementary
#8E8121 #21658E #4B218E
monochromatic
#2B270A #5C5415 #8E8121 #C0AE2D #D7C752
Accessibility & contrast
On white
3.95
#8E8121 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#8E8121 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8121
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8121 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8121 | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D0E
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#99776F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8e8121; /* rgb */ color: rgb(142, 129, 33); /* oklch */ color: oklch(59.8% 0.113 101.3);
Tailwind
colors: {
custom: {
50: '#b3a564',
500: '#8e8121',
950: '#000000',
},
}SCSS
$custom: #8e8121; $custom-light: #b3a564; $custom-dark: #000000;
JSON
{
"hex": "#8e8121",
"rgb": {
"r": 142,
"g": 129,
"b": 33
},
"hsl": {
"h": 52.844,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.5976,
"c": 0.11274,
"h": 101.3
},
"luminance": 0.21561
}Semantic roles & 50–950 ramp
primary
#8E8121
secondary
#505DBA
accent
#56E542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A