#8A8E1A#8A8E1A
#8A8E1A is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.130 H 111.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8E1A |
|---|---|
| RGB | rgb(138, 142, 26) |
| HSL | hsl(62, 69%, 33%) |
| HSV | hsv(62, 82%, 56%) |
| CMYK | cmyk(2.8%, 0%, 81.7%, 44.3%) |
| CIE-LAB | lab(56.90, -15.16, 55.55) |
| CIE-LCH | lch(56.90, 57.59, 105.27°) |
| OKLab | oklab(62.33% -0.048 0.1205) |
| OKLCH | oklch(62.33% 0.13 111.7) |
| XYZ | xyz(20.3414, 24.8244, 4.6971) |
| Luminance | 0.2482 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.61
Baby Poop Green
#8F9805
ΔE00 3.66
Pea Soup
#929901
ΔE00 4.08
Olive
#808000
ΔE00 5.03
Swamp Green
#748500
ΔE00 5.32
Ugly Green
#7A9703
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8E1A #1E1A8E
analogous
#8E581A #8A8E1A #508E1A
triadic
#8A8E1A #1A8A8E #8E1A8A
tetradic
#8A8E1A #1A8E58 #1E1A8E #8E1A50
square
#8A8E1A #1A8E58 #1E1A8E #8E1A50
split-complementary
#8A8E1A #1A508E #581A8E
monochromatic
#252707 #585A11 #8A8E1A #BCC223 #D8DD45
Accessibility & contrast
On white
3.52
#8A8E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#8A8E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8E1A
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8E1A | 1.00 | 3.52 | 5.96 | 5.96 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9A8A25
Tritanopia (blue-blind)
#948579
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8a8e1a; /* rgb */ color: rgb(138, 142, 26); /* oklch */ color: oklch(62.3% 0.130 111.7);
Tailwind
colors: {
custom: {
50: '#b0ae63',
500: '#8a8e1a',
950: '#000000',
},
}SCSS
$custom: #8a8e1a; $custom-light: #b0ae63; $custom-dark: #000000;
JSON
{
"hex": "#8a8e1a",
"rgb": {
"r": 138,
"g": 142,
"b": 26
},
"hsl": {
"h": 62.069,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.62329,
"c": 0.12967,
"h": 111.7
},
"luminance": 0.24824
}Semantic roles & 50–950 ramp
primary
#8A8E1A
secondary
#4A45BE
accent
#3CEC42
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A