#98D162#98D162

#98D162 is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 79.7% C 0.154 H 131.6°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#98D162
RGBrgb(152, 209, 98)
HSLhsl(91, 55%, 60%)
HSVhsv(91, 53%, 82%)
CMYKcmyk(27.3%, 0%, 53.1%, 18%)
CIE-LABlab(77.97, -36.84, 48.68)
CIE-LCHlch(77.97, 61.05, 127.12°)
OKLaboklab(79.74% -0.1025 0.1154)
OKLCHoklch(79.74% 0.154 131.6)
XYZxyz(37.9534, 53.1571, 19.8136)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D162 #9B62D1
analogous
#CFD162 #98D162 #62D163
triadic
#98D162 #6298D1 #D16298
tetradic
#98D162 #62CFD1 #9B62D1 #D16362
square
#98D162 #62CFD1 #9B62D1 #D16362
split-complementary
#98D162 #6362D1 #D162CF
monochromatic
#5B8F2A #79BE38 #98D162 #B7DF91 #D6EDC1

Accessibility & contrast

On white

1.81
#98D162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#98D162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D162
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D162#FFFFFF#000000##000000
##98D1621.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C458
Deuteranopia (green-blind)
#D1BF69
Tritanopia (blue-blind)
#9AC9B8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #98d162;
/* rgb */ color: rgb(152, 209, 98);
/* oklch */ color: oklch(79.7% 0.154 131.6);
Tailwind
colors: {
  custom: {
    50: '#b9df91',
    500: '#98d162',
    950: '#000000',
  },
}
SCSS
$custom: #98d162;
$custom-light: #b9df91;
$custom-dark: #000000;
JSON
{
  "hex": "#98d162",
  "rgb": {
    "r": 152,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 90.811,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.79742,
    "c": 0.15434,
    "h": 131.6
  },
  "luminance": 0.53158
}

Semantic roles & 50–950 ramp

primary
#98D162
secondary
#6D4295
accent
#23C275
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150D
muted
#82847F

Preview Lab

Preview with #98D162

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

Preview Lab → · Contrast checker → · Palette generator →

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