#98CC51#98CC51

#98CC51 is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.4% C 0.162 H 128.9°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#98CC51
RGBrgb(152, 204, 81)
HSLhsl(85, 55%, 56%)
HSVhsv(85, 60%, 80%)
CMYKcmyk(25.5%, 0%, 60.3%, 20%)
CIE-LABlab(76.35, -36.20, 54.51)
CIE-LCHlch(76.35, 65.44, 123.58°)
OKLaboklab(78.37% -0.102 0.1264)
OKLCHoklch(78.37% 0.162 128.9)
XYZxyz(36.0268, 50.4544, 15.6236)
Luminance0.5046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CC51 #8551CC
analogous
#CCC351 #98CC51 #5ACC51
triadic
#98CC51 #5198CC #CC5198
tetradic
#98CC51 #51CCC3 #8551CC #CC515A
square
#98CC51 #51CCC3 #8551CC #CC515A
split-complementary
#98CC51 #515ACC #C351CC
monochromatic
#587E25 #79AD33 #98CC51 #B4DA80 #D0E8B0

Accessibility & contrast

On white

1.89
#98CC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#98CC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CC51
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CC51#FFFFFF#000000##000000
##98CC511.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF43
Deuteranopia (green-blind)
#CEBB5A
Tritanopia (blue-blind)
#9CC4B2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #98cc51;
/* rgb */ color: rgb(152, 204, 81);
/* oklch */ color: oklch(78.4% 0.162 128.9);
Tailwind
colors: {
  custom: {
    50: '#b9db86',
    500: '#98cc51',
    950: '#000000',
  },
}
SCSS
$custom: #98cc51;
$custom-light: #b9db86;
$custom-dark: #000000;
JSON
{
  "hex": "#98cc51",
  "rgb": {
    "r": 152,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 85.366,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78373,
    "c": 0.16241,
    "h": 128.9
  },
  "luminance": 0.50455
}

Semantic roles & 50–950 ramp

primary
#98CC51
secondary
#5B3C86
accent
#4ADE88
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #98CC51

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

Preview Lab → · Contrast checker → · Palette generator →

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