#98B271#98B271
#98B271 is a light, moderate yellow-green. Relative luminance 0.397; OKLCH L 72.8% C 0.093 H 126.3°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #98B271 |
|---|---|
| RGB | rgb(152, 178, 113) |
| HSL | hsl(84, 30%, 57%) |
| HSV | hsv(84, 37%, 70%) |
| CMYK | cmyk(14.6%, 0%, 36.5%, 30.2%) |
| CIE-LAB | lab(69.26, -20.22, 30.35) |
| CIE-LCH | lch(69.26, 36.46, 123.67°) |
| OKLab | oklab(72.79% -0.0552 0.075) |
| OKLCH | oklch(72.79% 0.093 126.3) |
| XYZ | xyz(31.8496, 39.7082, 21.6061) |
| Luminance | 0.3971 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lichen
#8FB67B
ΔE00 3.57
Sage
#87AE73
ΔE00 3.92
Sage Green (survey)
#88B378
ΔE00 4.31
Tan Green
#A9BE70
ΔE00 4.59
Light Olive
#ACBF69
ΔE00 5.96
Sage Green
#9CAF88
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98B271 #8B71B2
analogous
#B2AC71 #98B271 #78B271
triadic
#98B271 #7198B2 #B27198
tetradic
#98B271 #71B2AC #8B71B2 #B27178
square
#98B271 #71B2AC #8B71B2 #B27178
split-complementary
#98B271 #7178B2 #AC71B2
monochromatic
#596D3B #7A9551 #98B271 #B5C899 #D2DDC0
Accessibility & contrast
On white
2.35
#98B271 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#98B271 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98B271
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98B271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98B271 | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9AA6C
Deuteranopia (green-blind)
#B5A974
Tritanopia (blue-blind)
#9CACA2
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #98b271; /* rgb */ color: rgb(152, 178, 113); /* oklch */ color: oklch(72.8% 0.093 126.3);
Tailwind
colors: {
custom: {
50: '#b7c99a',
500: '#98b271',
950: '#000000',
},
}SCSS
$custom: #98b271; $custom-light: #b7c99a; $custom-dark: #000000;
JSON
{
"hex": "#98b271",
"rgb": {
"r": 152,
"g": 178,
"b": 113
},
"hsl": {
"h": 84,
"s": 29.68,
"l": 57.059
},
"oklch": {
"l": 0.7279,
"c": 0.09316,
"h": 126.3
},
"luminance": 0.39708
}Semantic roles & 50–950 ramp
primary
#98B271
secondary
#BDB2CD
accent
#62C68A
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#11130E
muted
#80827E