#8A9E52#8A9E52
#8A9E52 is a light, moderate yellow-green. Relative luminance 0.305; OKLCH L 66.6% C 0.104 H 121.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8A9E52 |
|---|---|
| RGB | rgb(138, 158, 82) |
| HSL | hsl(76, 32%, 47%) |
| HSV | hsv(76, 48%, 62%) |
| CMYK | cmyk(12.7%, 0%, 48.1%, 38%) |
| CIE-LAB | lab(62.05, -19.40, 37.15) |
| CIE-LCH | lch(62.05, 41.91, 117.57°) |
| OKLab | oklab(66.61% -0.0544 0.089) |
| OKLCH | oklch(66.61% 0.104 121.4) |
| XYZ | xyz(24.2312, 30.4662, 12.5850) |
| Luminance | 0.3047 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 2.63
Camo
#7F8F4E
ΔE00 5.06
Moss
#769958
ΔE00 5.26
Drab Green
#749551
ΔE00 5.32
Asparagus
#77AB56
ΔE00 6.74
Flat Green
#699D4C
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A9E52 #66529E
analogous
#9E8C52 #8A9E52 #649E52
triadic
#8A9E52 #528A9E #9E528A
tetradic
#8A9E52 #529E8C #66529E #9E5264
square
#8A9E52 #529E8C #66529E #9E5264
split-complementary
#8A9E52 #52649E #8C529E
monochromatic
#444D28 #67763D #8A9E52 #A6B876 #C0CD9E
Accessibility & contrast
On white
2.96
#8A9E52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.09
#8A9E52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A9E52
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A9E52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A9E52 | 1.00 | 2.96 | 7.09 | 7.09 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6964C
Deuteranopia (green-blind)
#A39656
Tritanopia (blue-blind)
#90978C
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #8a9e52; /* rgb */ color: rgb(138, 158, 82); /* oklch */ color: oklch(66.6% 0.104 121.4);
Tailwind
colors: {
custom: {
50: '#adba84',
500: '#8a9e52',
950: '#000000',
},
}SCSS
$custom: #8a9e52; $custom-light: #adba84; $custom-dark: #000000;
JSON
{
"hex": "#8a9e52",
"rgb": {
"r": 138,
"g": 158,
"b": 82
},
"hsl": {
"h": 75.789,
"s": 31.667,
"l": 47.059
},
"oklch": {
"l": 0.66613,
"c": 0.1043,
"h": 121.4
},
"luminance": 0.30466
}Semantic roles & 50–950 ramp
primary
#8A9E52
secondary
#9D92BA
accent
#60C87B
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110B
muted
#7F807C