#98D962#98D962

#98D962 is a light, vivid yellow-green. Relative luminance 0.572; OKLCH L 81.6% C 0.165 H 132.8°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#98D962
RGBrgb(152, 217, 98)
HSLhsl(93, 61%, 62%)
HSVhsv(93, 55%, 85%)
CMYKcmyk(30%, 0%, 54.8%, 14.9%)
CIE-LABlab(80.28, -40.42, 51.40)
CIE-LCHlch(80.28, 65.39, 128.18°)
OKLaboklab(81.62% -0.1123 0.1213)
OKLCHoklch(81.62% 0.165 132.8)
XYZxyz(39.9657, 57.1816, 20.4844)
Luminance0.5718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D962 #A362D9
analogous
#D4D962 #98D962 #62D968
triadic
#98D962 #6298D9 #D96298
tetradic
#98D962 #62D4D9 #A362D9 #D96862
square
#98D962 #62D4D9 #A362D9 #D96862
split-complementary
#98D962 #6862D9 #D962D4
monochromatic
#5B9B26 #78CC31 #98D962 #B8E593 #D9F1C5

Accessibility & contrast

On white

1.69
#98D962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#98D962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D962
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D962#FFFFFF#000000##000000
##98D9621.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA56
Deuteranopia (green-blind)
#D8C56A
Tritanopia (blue-blind)
#99D1BF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #98d962;
/* rgb */ color: rgb(152, 217, 98);
/* oklch */ color: oklch(81.6% 0.165 132.8);
Tailwind
colors: {
  custom: {
    50: '#b9e592',
    500: '#98d962',
    950: '#000000',
  },
}
SCSS
$custom: #98d962;
$custom-light: #b9e592;
$custom-dark: #000000;
JSON
{
  "hex": "#98d962",
  "rgb": {
    "r": 152,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 92.773,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81619,
    "c": 0.16536,
    "h": 132.8
  },
  "luminance": 0.57183
}

Semantic roles & 50–950 ramp

primary
#98D962
secondary
#74409F
accent
#1DC97B
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150D
muted
#82847F

Preview Lab

Preview with #98D962

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

Preview Lab → · Contrast checker → · Palette generator →

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