#8D8E18#8D8E18
#8D8E18 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.130 H 110.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8E18 |
|---|---|
| RGB | rgb(141, 142, 24) |
| HSL | hsl(61, 71%, 33%) |
| HSV | hsv(61, 83%, 56%) |
| CMYK | cmyk(0.7%, 0%, 83.1%, 44.3%) |
| CIE-LAB | lab(57.15, -13.88, 56.43) |
| CIE-LCH | lch(57.15, 58.11, 103.82°) |
| OKLab | oklab(62.58% -0.0447 0.1218) |
| OKLCH | oklch(62.58% 0.13 110.2) |
| XYZ | xyz(20.8232, 25.0753, 4.6071) |
| Luminance | 0.2507 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.72
Pea Soup
#929901
ΔE00 3.98
Baby Shit Green
#889717
ΔE00 4.15
Olive
#808000
ΔE00 5.07
Swamp Green
#748500
ΔE00 6.02
Shit Green
#758000
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8E18 #19188E
analogous
#8E5418 #8D8E18 #528E18
triadic
#8D8E18 #188D8E #8E188D
tetradic
#8D8E18 #188E54 #19188E #8E1852
square
#8D8E18 #188E54 #19188E #8E1852
split-complementary
#8D8E18 #18528E #54188E
monochromatic
#252506 #595A0F #8D8E18 #C1C221 #DEDF41
Accessibility & contrast
On white
3.49
#8D8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#8D8E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8E18
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8E18 | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9B8B24
Tritanopia (blue-blind)
#988479
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8d8e18; /* rgb */ color: rgb(141, 142, 24); /* oklch */ color: oklch(62.6% 0.130 110.2);
Tailwind
colors: {
custom: {
50: '#b2ae62',
500: '#8d8e18',
950: '#000000',
},
}SCSS
$custom: #8d8e18; $custom-light: #b2ae62; $custom-dark: #000000;
JSON
{
"hex": "#8d8e18",
"rgb": {
"r": 141,
"g": 142,
"b": 24
},
"hsl": {
"h": 60.508,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.62584,
"c": 0.12978,
"h": 110.2
},
"luminance": 0.25075
}Semantic roles & 50–950 ramp
primary
#8D8E18
secondary
#4342C0
accent
#3AEE3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A