#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
RGBrgb(152, 178, 113)
HSLhsl(84, 30%, 57%)
HSVhsv(84, 37%, 70%)
CMYKcmyk(14.6%, 0%, 36.5%, 30.2%)
CIE-LABlab(69.26, -20.22, 30.35)
CIE-LCHlch(69.26, 36.46, 123.67°)
OKLaboklab(72.79% -0.0552 0.075)
OKLCHoklch(72.79% 0.093 126.3)
XYZxyz(31.8496, 39.7082, 21.6061)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

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
##98B2711.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.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

Preview Lab

Preview with #98B271

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#98B271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva