#8B8E1E#8B8E1E
#8B8E1E is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.127 H 111.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8E1E |
|---|---|
| RGB | rgb(139, 142, 30) |
| HSL | hsl(62, 65%, 34%) |
| HSV | hsv(62, 79%, 56%) |
| CMYK | cmyk(2.1%, 0%, 78.9%, 44.3%) |
| CIE-LAB | lab(57.01, -14.56, 54.46) |
| CIE-LCH | lch(57.01, 56.37, 104.97°) |
| OKLab | oklab(62.44% -0.046 0.1188) |
| OKLCH | oklch(62.44% 0.127 111.2) |
| XYZ | xyz(20.5555, 24.9293, 4.9571) |
| Luminance | 0.2493 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.80
Baby Poop Green
#8F9805
ΔE00 3.83
Pea Soup
#929901
ΔE00 4.22
Olive
#808000
ΔE00 5.09
Swamp Green
#748500
ΔE00 5.54
Shit Green
#758000
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8E1E #211E8E
analogous
#8E591E #8B8E1E #538E1E
triadic
#8B8E1E #1E8B8E #8E1E8B
tetradic
#8B8E1E #1E8E59 #211E8E #8E1E53
square
#8B8E1E #1E8E59 #211E8E #8E1E53
split-complementary
#8B8E1E #1E538E #591E8E
monochromatic
#282909 #5A5B13 #8B8E1E #BCC129 #D6D94D
Accessibility & contrast
On white
3.51
#8B8E1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#8B8E1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8E1E
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8E1E | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#958579
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8b8e1e; /* rgb */ color: rgb(139, 142, 30); /* oklch */ color: oklch(62.4% 0.127 111.2);
Tailwind
colors: {
custom: {
50: '#b0ae64',
500: '#8b8e1e',
950: '#000000',
},
}SCSS
$custom: #8b8e1e; $custom-light: #b0ae64; $custom-dark: #000000;
JSON
{
"hex": "#8b8e1e",
"rgb": {
"r": 139,
"g": 142,
"b": 30
},
"hsl": {
"h": 61.607,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.62438,
"c": 0.12744,
"h": 111.2
},
"luminance": 0.24929
}Semantic roles & 50–950 ramp
primary
#8B8E1E
secondary
#4F4CBC
accent
#40E844
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A