#8A8D18#8A8D18
#8A8D18 is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.1% C 0.130 H 111.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8D18 |
|---|---|
| RGB | rgb(138, 141, 24) |
| HSL | hsl(62, 71%, 32%) |
| HSV | hsv(62, 83%, 55%) |
| CMYK | cmyk(2.1%, 0%, 83%, 44.7%) |
| CIE-LAB | lab(56.60, -14.71, 55.86) |
| CIE-LCH | lch(56.60, 57.76, 104.75°) |
| OKLab | oklab(62.09% -0.0468 0.1208) |
| OKLCH | oklch(62.09% 0.13 111.2) |
| XYZ | xyz(20.1717, 24.5195, 4.5341) |
| Luminance | 0.2452 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.94
Baby Shit Green
#889717
ΔE00 4.00
Pea Soup
#929901
ΔE00 4.32
Olive
#808000
ΔE00 4.68
Swamp Green
#748500
ΔE00 5.28
Shit Green
#758000
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8D18 #1B188D
analogous
#8D5518 #8A8D18 #508D18
triadic
#8A8D18 #188A8D #8D188A
tetradic
#8A8D18 #188D55 #1B188D #8D1850
square
#8A8D18 #188D55 #1B188D #8D1850
split-complementary
#8A8D18 #18508D #55188D
monochromatic
#242406 #57590F #8A8D18 #BDC121 #DBDF41
Accessibility & contrast
On white
3.56
#8A8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#8A8D18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8D18
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8D18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8D18 | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#998924
Tritanopia (blue-blind)
#948478
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #8a8d18; /* rgb */ color: rgb(138, 141, 24); /* oklch */ color: oklch(62.1% 0.130 111.2);
Tailwind
colors: {
custom: {
50: '#b0ae62',
500: '#8a8d18',
950: '#000000',
},
}SCSS
$custom: #8a8d18; $custom-light: #b0ae62; $custom-dark: #000000;
JSON
{
"hex": "#8a8d18",
"rgb": {
"r": 138,
"g": 141,
"b": 24
},
"hsl": {
"h": 61.538,
"s": 70.909,
"l": 32.353
},
"oklch": {
"l": 0.62087,
"c": 0.12952,
"h": 111.2
},
"luminance": 0.24519
}Semantic roles & 50–950 ramp
primary
#8A8D18
secondary
#4542BF
accent
#3AEE3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A