#8B8E1A#8B8E1A
#8B8E1A is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.129 H 111.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8E1A |
|---|---|
| RGB | rgb(139, 142, 26) |
| HSL | hsl(62, 69%, 33%) |
| HSV | hsv(62, 82%, 56%) |
| CMYK | cmyk(2.1%, 0%, 81.7%, 44.3%) |
| CIE-LAB | lab(56.99, -14.71, 55.66) |
| CIE-LCH | lch(56.99, 57.57, 104.81°) |
| OKLab | oklab(62.42% -0.0468 0.1207) |
| OKLCH | oklch(62.42% 0.129 111.2) |
| XYZ | xyz(20.5077, 24.9101, 4.7049) |
| Luminance | 0.2491 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.68
Baby Shit Green
#889717
ΔE00 3.78
Pea Soup
#929901
ΔE00 4.05
Olive
#808000
ΔE00 5.03
Swamp Green
#748500
ΔE00 5.54
Shit Green
#758000
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8E1A #1D1A8E
analogous
#8E571A #8B8E1A #518E1A
triadic
#8B8E1A #1A8B8E #8E1A8B
tetradic
#8B8E1A #1A8E57 #1D1A8E #8E1A51
square
#8B8E1A #1A8E57 #1D1A8E #8E1A51
split-complementary
#8B8E1A #1A518E #571A8E
monochromatic
#262707 #585A11 #8B8E1A #BEC223 #D9DD45
Accessibility & contrast
On white
3.51
#8B8E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#8B8E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8E1A
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8E1A | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9A8A25
Tritanopia (blue-blind)
#958579
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8b8e1a; /* rgb */ color: rgb(139, 142, 26); /* oklch */ color: oklch(62.4% 0.129 111.2);
Tailwind
colors: {
custom: {
50: '#b0ae63',
500: '#8b8e1a',
950: '#000000',
},
}SCSS
$custom: #8b8e1a; $custom-light: #b0ae63; $custom-dark: #000000;
JSON
{
"hex": "#8b8e1a",
"rgb": {
"r": 139,
"g": 142,
"b": 26
},
"hsl": {
"h": 61.552,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.62417,
"c": 0.1294,
"h": 111.2
},
"luminance": 0.2491
}Semantic roles & 50–950 ramp
primary
#8B8E1A
secondary
#4945BE
accent
#3CEC40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A