#8A8E18#8A8E18
#8A8E18 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.131 H 111.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8E18 |
|---|---|
| RGB | rgb(138, 142, 24) |
| HSL | hsl(62, 71%, 33%) |
| HSV | hsv(62, 83%, 56%) |
| CMYK | cmyk(2.8%, 0%, 83.1%, 44.3%) |
| CIE-LAB | lab(56.90, -15.23, 56.11) |
| CIE-LCH | lch(56.90, 58.14, 105.19°) |
| OKLab | oklab(62.32% -0.0483 0.1213) |
| OKLCH | oklch(62.32% 0.131 111.7) |
| XYZ | xyz(20.3198, 24.8158, 4.5835) |
| Luminance | 0.2482 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.60
Baby Shit Green
#889717
ΔE00 3.61
Pea Soup
#929901
ΔE00 4.01
Olive
#808000
ΔE00 5.01
Swamp Green
#748500
ΔE00 5.32
Ugly Green
#7A9703
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8E18 #1C188E
analogous
#8E5718 #8A8E18 #4F8E18
triadic
#8A8E18 #188A8E #8E188A
tetradic
#8A8E18 #188E57 #1C188E #8E184F
square
#8A8E18 #188E57 #1C188E #8E184F
split-complementary
#8A8E18 #184F8E #57188E
monochromatic
#242506 #575A0F #8A8E18 #BDC221 #DADF41
Accessibility & contrast
On white
3.52
#8A8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#8A8E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8E18
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8E18 | 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)
#9A8A24
Tritanopia (blue-blind)
#948579
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #8a8e18; /* rgb */ color: rgb(138, 142, 24); /* oklch */ color: oklch(62.3% 0.131 111.7);
Tailwind
colors: {
custom: {
50: '#b0ae62',
500: '#8a8e18',
950: '#000000',
},
}SCSS
$custom: #8a8e18; $custom-light: #b0ae62; $custom-dark: #000000;
JSON
{
"hex": "#8a8e18",
"rgb": {
"r": 138,
"g": 142,
"b": 24
},
"hsl": {
"h": 62.034,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.6232,
"c": 0.13056,
"h": 111.7
},
"luminance": 0.24815
}Semantic roles & 50–950 ramp
primary
#8A8E18
secondary
#4642C0
accent
#3AEE40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A