#98D258#98D258

#98D258 is a light, vivid yellow-green. Relative luminance 0.535; OKLCH L 79.9% C 0.165 H 130.7°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#98D258
RGBrgb(152, 210, 88)
HSLhsl(89, 58%, 58%)
HSVhsv(89, 58%, 82%)
CMYKcmyk(27.6%, 0%, 58.1%, 17.6%)
CIE-LABlab(78.15, -38.28, 53.46)
CIE-LCHlch(78.15, 65.75, 125.60°)
OKLaboklab(79.86% -0.1072 0.1249)
OKLCHoklch(79.86% 0.165 130.7)
XYZxyz(37.7566, 53.4721, 17.5625)
Luminance0.5347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D258 #9258D2
analogous
#D2CF58 #98D258 #5BD258
triadic
#98D258 #5898D2 #D25898
tetradic
#98D258 #58D2CF #9258D2 #D2585B
square
#98D258 #58D2CF #9258D2 #D2585B
split-complementary
#98D258 #585BD2 #CF58D2
monochromatic
#5A8A25 #7ABB32 #98D258 #B6DF88 #D3ECB8

Accessibility & contrast

On white

1.80
#98D258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#98D258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D258
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D258#FFFFFF#000000##000000
##98D2581.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44B
Deuteranopia (green-blind)
#D2C061
Tritanopia (blue-blind)
#9BCAB8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #98d258;
/* rgb */ color: rgb(152, 210, 88);
/* oklch */ color: oklch(79.9% 0.165 130.7);
Tailwind
colors: {
  custom: {
    50: '#b9e08b',
    500: '#98d258',
    950: '#000000',
  },
}
SCSS
$custom: #98d258;
$custom-light: #b9e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#98d258",
  "rgb": {
    "r": 152,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 88.525,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79858,
    "c": 0.16456,
    "h": 130.7
  },
  "luminance": 0.53473
}

Semantic roles & 50–950 ramp

primary
#98D258
secondary
#653E91
accent
#47E190
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D258

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

Preview Lab → · Contrast checker → · Palette generator →

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