#98CE51#98CE51

#98CE51 is a light, vivid yellow-green. Relative luminance 0.514; OKLCH L 78.8% C 0.165 H 129.3°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#98CE51
RGBrgb(152, 206, 81)
HSLhsl(86, 56%, 56%)
HSVhsv(86, 61%, 81%)
CMYKcmyk(26.2%, 0%, 60.7%, 19.2%)
CIE-LABlab(76.93, -37.10, 55.16)
CIE-LCHlch(76.93, 66.48, 123.93°)
OKLaboklab(78.84% -0.1045 0.1277)
OKLCHoklch(78.84% 0.165 129.3)
XYZxyz(36.5052, 51.4112, 15.7830)
Luminance0.5141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CE51 #8751CE
analogous
#CEC651 #98CE51 #5ACE51
triadic
#98CE51 #5198CE #CE5198
tetradic
#98CE51 #51CEC6 #8751CE #CE515A
square
#98CE51 #51CEC6 #8751CE #CE515A
split-complementary
#98CE51 #515ACE #C651CE
monochromatic
#598024 #7AB032 #98CE51 #B4DB81 #D1E9B1

Accessibility & contrast

On white

1.86
#98CE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#98CE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CE51
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CE51#FFFFFF#000000##000000
##98CE511.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C043
Deuteranopia (green-blind)
#D0BD5A
Tritanopia (blue-blind)
#9CC6B3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #98ce51;
/* rgb */ color: rgb(152, 206, 81);
/* oklch */ color: oklch(78.8% 0.165 129.3);
Tailwind
colors: {
  custom: {
    50: '#b9dd87',
    500: '#98ce51',
    950: '#000000',
  },
}
SCSS
$custom: #98ce51;
$custom-light: #b9dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#98ce51",
  "rgb": {
    "r": 152,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 85.92,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78843,
    "c": 0.16505,
    "h": 129.3
  },
  "luminance": 0.51412
}

Semantic roles & 50–950 ramp

primary
#98CE51
secondary
#5C3B88
accent
#48DF8A
background
#FDFEFC
surface
#F8FCF3
border
#D1D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #98CE51

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

Preview Lab → · Contrast checker → · Palette generator →

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