#98CB51#98CB51

#98CB51 is a light, vivid yellow-green. Relative luminance 0.500; OKLCH L 78.1% C 0.161 H 128.7°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#98CB51
RGBrgb(152, 203, 81)
HSLhsl(85, 54%, 56%)
HSVhsv(85, 60%, 80%)
CMYKcmyk(25.1%, 0%, 60.1%, 20.4%)
CIE-LABlab(76.06, -35.74, 54.19)
CIE-LCHlch(76.06, 64.92, 123.41°)
OKLaboklab(78.14% -0.1008 0.1257)
OKLCHoklch(78.14% 0.161 128.7)
XYZxyz(35.7899, 49.9806, 15.5446)
Luminance0.4998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CB51 #8451CB
analogous
#CBC151 #98CB51 #5BCB51
triadic
#98CB51 #5198CB #CB5198
tetradic
#98CB51 #51CBC1 #8451CB #CB515B
square
#98CB51 #51CBC1 #8451CB #CB515B
split-complementary
#98CB51 #515BCB #C151CB
monochromatic
#587C25 #79AC33 #98CB51 #B4D980 #D0E7AF

Accessibility & contrast

On white

1.91
#98CB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#98CB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CB51
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CB51#FFFFFF#000000##000000
##98CB511.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE43
Deuteranopia (green-blind)
#CDBA5A
Tritanopia (blue-blind)
#9CC3B1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #98cb51;
/* rgb */ color: rgb(152, 203, 81);
/* oklch */ color: oklch(78.1% 0.161 128.7);
Tailwind
colors: {
  custom: {
    50: '#b9db86',
    500: '#98cb51',
    950: '#000000',
  },
}
SCSS
$custom: #98cb51;
$custom-light: #b9db86;
$custom-dark: #000000;
JSON
{
  "hex": "#98cb51",
  "rgb": {
    "r": 152,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 85.082,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78138,
    "c": 0.16109,
    "h": 128.7
  },
  "luminance": 0.49981
}

Semantic roles & 50–950 ramp

primary
#98CB51
secondary
#B8A3D5
accent
#4ADD88
background
#FBFDF8
surface
#F6FBF0
border
#D0D4CB
text
#12150B
muted
#81837C

Preview Lab

Preview with #98CB51

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

Preview Lab → · Contrast checker → · Palette generator →

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