#98D158#98D158

#98D158 is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 79.6% C 0.163 H 130.5°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#98D158
RGBrgb(152, 209, 88)
HSLhsl(88, 57%, 58%)
HSVhsv(88, 58%, 82%)
CMYKcmyk(27.3%, 0%, 57.9%, 18%)
CIE-LABlab(77.86, -37.83, 53.13)
CIE-LCHlch(77.86, 65.22, 125.45°)
OKLaboklab(79.62% -0.106 0.1241)
OKLCHoklch(79.62% 0.163 130.5)
XYZxyz(37.5104, 52.9799, 17.4805)
Luminance0.5298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D158 #9158D1
analogous
#D1CD58 #98D158 #5BD158
triadic
#98D158 #5898D1 #D15898
tetradic
#98D158 #58D1CD #9158D1 #D1585B
square
#98D158 #58D1CD #9158D1 #D1585B
split-complementary
#98D158 #585BD1 #CD58D1
monochromatic
#5A8926 #7AB933 #98D158 #B6DE88 #D3EBB8

Accessibility & contrast

On white

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

On black

11.60
#98D158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D158
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D158#FFFFFF#000000##000000
##98D1581.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34B
Deuteranopia (green-blind)
#D2BF60
Tritanopia (blue-blind)
#9BC9B7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #98d158;
/* rgb */ color: rgb(152, 209, 88);
/* oklch */ color: oklch(79.6% 0.163 130.5);
Tailwind
colors: {
  custom: {
    50: '#b9df8b',
    500: '#98d158',
    950: '#000000',
  },
}
SCSS
$custom: #98d158;
$custom-light: #b9df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#98d158",
  "rgb": {
    "r": 152,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 88.264,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79623,
    "c": 0.16323,
    "h": 130.5
  },
  "luminance": 0.52981
}

Semantic roles & 50–950 ramp

primary
#98D158
secondary
#643E8F
accent
#48E08F
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D158

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

Preview Lab → · Contrast checker → · Palette generator →

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