#98D951#98D951

#98D951 is a light, vivid yellow-green. Relative luminance 0.569; OKLCH L 81.4% C 0.179 H 131.1°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#98D951
RGBrgb(152, 217, 81)
HSLhsl(89, 64%, 58%)
HSVhsv(89, 63%, 85%)
CMYKcmyk(30%, 0%, 62.7%, 14.9%)
CIE-LABlab(80.12, -41.98, 58.67)
CIE-LCHlch(80.12, 72.15, 125.59°)
OKLaboklab(81.44% -0.118 0.1352)
OKLCHoklch(81.44% 0.179 131.1)
XYZxyz(39.2465, 56.8940, 16.6968)
Luminance0.5689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D951 #9251D9
analogous
#D9D651 #98D951 #54D951
triadic
#98D951 #5198D9 #D95198
tetradic
#98D951 #51D9D6 #9251D9 #D95154
square
#98D951 #51D9D6 #9251D9 #D95154
split-complementary
#98D951 #5154D9 #D651D9
monochromatic
#5A901F #7AC22A #98D951 #B6E483 #D3EFB5

Accessibility & contrast

On white

1.70
#98D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#98D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D951
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D951#FFFFFF#000000##000000
##98D9511.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA40
Deuteranopia (green-blind)
#D9C55B
Tritanopia (blue-blind)
#9BD0BD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #98d951;
/* rgb */ color: rgb(152, 217, 81);
/* oklch */ color: oklch(81.4% 0.179 131.1);
Tailwind
colors: {
  custom: {
    50: '#bae587',
    500: '#98d951',
    950: '#000000',
  },
}
SCSS
$custom: #98d951;
$custom-light: #bae587;
$custom-dark: #000000;
JSON
{
  "hex": "#98d951",
  "rgb": {
    "r": 152,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 88.676,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81435,
    "c": 0.17942,
    "h": 131.1
  },
  "luminance": 0.56895
}

Semantic roles & 50–950 ramp

primary
#98D951
secondary
#653995
accent
#41E790
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D951

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

Preview Lab → · Contrast checker → · Palette generator →

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