#98B970#98B970

#98B970 is a light, moderate yellow-green. Relative luminance 0.425; OKLCH L 74.4% C 0.105 H 128.5°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#98B970
RGBrgb(152, 185, 112)
HSLhsl(87, 34%, 58%)
HSVhsv(87, 39%, 73%)
CMYKcmyk(17.8%, 0%, 39.5%, 27.5%)
CIE-LABlab(71.24, -23.84, 33.44)
CIE-LCHlch(71.24, 41.07, 125.49°)
OKLaboklab(74.38% -0.0654 0.0822)
OKLCHoklch(74.38% 0.105 128.5)
XYZxyz(33.2221, 42.5427, 21.7874)
Luminance0.4254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B970 #9170B9
analogous
#B9B570 #98B970 #73B970
triadic
#98B970 #7098B9 #B97098
tetradic
#98B970 #70B9B5 #9170B9 #B97073
square
#98B970 #70B9B5 #9170B9 #B97073
split-complementary
#98B970 #7073B9 #B570B9
monochromatic
#5A7539 #7A9E4D #98B970 #B6CD99 #D3E1C2

Accessibility & contrast

On white

2.21
#98B970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#98B970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B970
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B970#FFFFFF#000000##000000
##98B9701.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B06B
Deuteranopia (green-blind)
#BBAE74
Tritanopia (blue-blind)
#9BB3A7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98b970;
/* rgb */ color: rgb(152, 185, 112);
/* oklch */ color: oklch(74.4% 0.105 128.5);
Tailwind
colors: {
  custom: {
    50: '#b7ce9a',
    500: '#98b970',
    950: '#000000',
  },
}
SCSS
$custom: #98b970;
$custom-light: #b7ce9a;
$custom-dark: #000000;
JSON
{
  "hex": "#98b970",
  "rgb": {
    "r": 152,
    "g": 185,
    "b": 112
  },
  "hsl": {
    "h": 87.123,
    "s": 34.272,
    "l": 58.235
  },
  "oklch": {
    "l": 0.74375,
    "c": 0.10501,
    "h": 128.5
  },
  "luminance": 0.42543
}

Semantic roles & 50–950 ramp

primary
#98B970
secondary
#C1B4D1
accent
#5DCA8F
background
#FBFCF9
surface
#F6F9F2
border
#D0D2CC
text
#11130E
muted
#80827E

Preview Lab

Preview with #98B970

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

Preview Lab → · Contrast checker → · Palette generator →

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