#8A9754#8A9754
#8A9754 is a light, moderate yellow-green. Relative luminance 0.282; OKLCH L 65.0% C 0.092 H 118.0°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8A9754 |
|---|---|
| RGB | rgb(138, 151, 84) |
| HSL | hsl(72, 29%, 46%) |
| HSV | hsv(72, 44%, 59%) |
| CMYK | cmyk(8.6%, 0%, 44.4%, 40.8%) |
| CIE-LAB | lab(60.05, -15.55, 33.64) |
| CIE-LCH | lch(60.05, 37.06, 114.80°) |
| OKLab | oklab(65.02% -0.0433 0.0813) |
| OKLCH | oklch(65.02% 0.092 118) |
| XYZ | xyz(23.1482, 28.1767, 12.6050) |
| Luminance | 0.2818 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 1.59
Camo
#7F8F4E
ΔE00 3.08
Drab Green
#749551
ΔE00 5.30
Moss
#769958
ΔE00 5.61
Khaki Green
#728639
ΔE00 7.06
Drab
#828344
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A9754 #615497
analogous
#978254 #8A9754 #689754
triadic
#8A9754 #548A97 #97548A
tetradic
#8A9754 #549782 #615497 #975468
square
#8A9754 #549782 #615497 #975468
split-complementary
#8A9754 #546897 #825497
monochromatic
#424828 #66703E #8A9754 #A7B376 #C0C89D
Accessibility & contrast
On white
3.16
#8A9754 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#8A9754 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A9754
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A9754 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A9754 | 1.00 | 3.16 | 6.64 | 6.64 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F914F
Deuteranopia (green-blind)
#9D9157
Tritanopia (blue-blind)
#909187
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #8a9754; /* rgb */ color: rgb(138, 151, 84); /* oklch */ color: oklch(65.0% 0.092 118.0);
Tailwind
colors: {
custom: {
50: '#adb585',
500: '#8a9754',
950: '#000000',
},
}SCSS
$custom: #8a9754; $custom-light: #adb585; $custom-dark: #000000;
JSON
{
"hex": "#8a9754",
"rgb": {
"r": 138,
"g": 151,
"b": 84
},
"hsl": {
"h": 71.642,
"s": 28.511,
"l": 46.078
},
"oklch": {
"l": 0.65015,
"c": 0.09213,
"h": 118
},
"luminance": 0.28177
}Semantic roles & 50–950 ramp
primary
#8A9754
secondary
#9891B6
accent
#63C576
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110B
muted
#7F807C