#8A8E1E#8A8E1E
#8A8E1E is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.128 H 111.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8E1E |
|---|---|
| RGB | rgb(138, 142, 30) |
| HSL | hsl(62, 65%, 34%) |
| HSV | hsv(62, 79%, 56%) |
| CMYK | cmyk(2.8%, 0%, 78.9%, 44.3%) |
| CIE-LAB | lab(56.92, -15.01, 54.35) |
| CIE-LCH | lch(56.92, 56.39, 105.44°) |
| OKLab | oklab(62.35% -0.0472 0.1187) |
| OKLCH | oklch(62.35% 0.128 111.7) |
| XYZ | xyz(20.3893, 24.8435, 4.9493) |
| Luminance | 0.2484 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.65
Baby Poop Green
#8F9805
ΔE00 3.83
Pea Soup
#929901
ΔE00 4.26
Olive
#808000
ΔE00 5.10
Swamp Green
#748500
ΔE00 5.32
Shit Green
#758000
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8E1E #221E8E
analogous
#8E5A1E #8A8E1E #528E1E
triadic
#8A8E1E #1E8A8E #8E1E8A
tetradic
#8A8E1E #1E8E5A #221E8E #8E1E52
square
#8A8E1E #1E8E5A #221E8E #8E1E52
split-complementary
#8A8E1E #1E528E #5A1E8E
monochromatic
#282909 #595B13 #8A8E1E #BBC129 #D4D94D
Accessibility & contrast
On white
3.52
#8A8E1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#8A8E1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8E1E
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8E1E | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#948579
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8a8e1e; /* rgb */ color: rgb(138, 142, 30); /* oklch */ color: oklch(62.4% 0.128 111.7);
Tailwind
colors: {
custom: {
50: '#b0ae64',
500: '#8a8e1e',
950: '#000000',
},
}SCSS
$custom: #8a8e1e; $custom-light: #b0ae64; $custom-dark: #000000;
JSON
{
"hex": "#8a8e1e",
"rgb": {
"r": 138,
"g": 142,
"b": 30
},
"hsl": {
"h": 62.143,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.6235,
"c": 0.1277,
"h": 111.7
},
"luminance": 0.24843
}Semantic roles & 50–950 ramp
primary
#8A8E1E
secondary
#504CBC
accent
#40E846
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A