#98A45F#98A45F
#98A45F is a light, moderate yellow-green. Relative luminance 0.341; OKLCH L 69.3% C 0.094 H 117.0°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #98A45F |
|---|---|
| RGB | rgb(152, 164, 95) |
| HSL | hsl(70, 27%, 51%) |
| HSV | hsv(70, 42%, 64%) |
| CMYK | cmyk(7.3%, 0%, 42.1%, 35.7%) |
| CIE-LAB | lab(65.00, -15.32, 34.33) |
| CIE-LCH | lch(65.00, 37.59, 114.05°) |
| OKLab | oklab(69.3% -0.0424 0.0834) |
| OKLCH | oklch(69.3% 0.094 117) |
| XYZ | xyz(28.2901, 34.0528, 15.9068) |
| Luminance | 0.3405 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.78
Khaki (survey)
#AAA662
ΔE00 4.91
Camo
#7F8F4E
ΔE00 7.25
Tan Green
#A9BE70
ΔE00 7.27
Sage
#87AE73
ΔE00 7.59
Moss
#769958
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A45F #6B5FA4
analogous
#A48D5F #98A45F #75A45F
triadic
#98A45F #5F98A4 #A45F98
tetradic
#98A45F #5FA48D #6B5FA4 #A45F75
square
#98A45F #5FA48D #6B5FA4 #A45F75
split-complementary
#98A45F #5F75A4 #8D5FA4
monochromatic
#515732 #757E48 #98A45F #B1BA86 #CAD0AD
Accessibility & contrast
On white
2.69
#98A45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#98A45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A45F
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A45F | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9D5A
Deuteranopia (green-blind)
#AB9E62
Tritanopia (blue-blind)
#9F9D93
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #98a45f; /* rgb */ color: rgb(152, 164, 95); /* oklch */ color: oklch(69.3% 0.094 117.0);
Tailwind
colors: {
custom: {
50: '#b7bf8d',
500: '#98a45f',
950: '#000000',
},
}SCSS
$custom: #98a45f; $custom-light: #b7bf8d; $custom-dark: #000000;
JSON
{
"hex": "#98a45f",
"rgb": {
"r": 152,
"g": 164,
"b": 95
},
"hsl": {
"h": 70.435,
"s": 27.49,
"l": 50.784
},
"oklch": {
"l": 0.69295,
"c": 0.09356,
"h": 117
},
"luminance": 0.34053
}Semantic roles & 50–950 ramp
primary
#98A45F
secondary
#A5A0BF
accent
#64C475
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120C
muted
#80817D