#8D8E1A#8D8E1A
#8D8E1A is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.129 H 110.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8E1A |
|---|---|
| RGB | rgb(141, 142, 26) |
| HSL | hsl(61, 69%, 33%) |
| HSV | hsv(61, 82%, 56%) |
| CMYK | cmyk(0.7%, 0%, 81.7%, 44.3%) |
| CIE-LAB | lab(57.16, -13.81, 55.87) |
| CIE-LCH | lch(57.16, 57.55, 103.88°) |
| OKLab | oklab(62.59% -0.0444 0.121) |
| OKLCH | oklch(62.59% 0.129 110.1) |
| XYZ | xyz(20.8448, 25.0839, 4.7207) |
| Luminance | 0.2508 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.77
Pea Soup
#929901
ΔE00 4.04
Baby Shit Green
#889717
ΔE00 4.15
Olive
#808000
ΔE00 5.09
Swamp Green
#748500
ΔE00 6.01
Shit Green
#758000
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8E1A #1B1A8E
analogous
#8E551A #8D8E1A #538E1A
triadic
#8D8E1A #1A8D8E #8E1A8D
tetradic
#8D8E1A #1A8E55 #1B1A8E #8E1A53
square
#8D8E1A #1A8E55 #1B1A8E #8E1A53
split-complementary
#8D8E1A #1A538E #551A8E
monochromatic
#262707 #5A5A11 #8D8E1A #C0C223 #DCDD45
Accessibility & contrast
On white
3.49
#8D8E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#8D8E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8E1A
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8E1A | 1.00 | 3.49 | 6.02 | 6.02 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9B8B25
Tritanopia (blue-blind)
#988479
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8d8e1a; /* rgb */ color: rgb(141, 142, 26); /* oklch */ color: oklch(62.6% 0.129 110.1);
Tailwind
colors: {
custom: {
50: '#b2ae63',
500: '#8d8e1a',
950: '#000000',
},
}SCSS
$custom: #8d8e1a; $custom-light: #b2ae63; $custom-dark: #000000;
JSON
{
"hex": "#8d8e1a",
"rgb": {
"r": 141,
"g": 142,
"b": 26
},
"hsl": {
"h": 60.517,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.62594,
"c": 0.1289,
"h": 110.1
},
"luminance": 0.25083
}Semantic roles & 50–950 ramp
primary
#8D8E1A
secondary
#4645BE
accent
#3CEC3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A