#98CF51#98CF51

#98CF51 is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 79.1% C 0.166 H 129.5°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#98CF51
RGBrgb(152, 207, 81)
HSLhsl(86, 57%, 56%)
HSVhsv(86, 61%, 81%)
CMYKcmyk(26.6%, 0%, 60.9%, 18.8%)
CIE-LABlab(77.22, -37.55, 55.48)
CIE-LCHlch(77.22, 66.99, 124.09°)
OKLaboklab(79.08% -0.1058 0.1284)
OKLCHoklch(79.08% 0.166 129.5)
XYZxyz(36.7467, 51.8942, 15.8635)
Luminance0.5190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CF51 #8851CF
analogous
#CFC751 #98CF51 #59CF51
triadic
#98CF51 #5198CF #CF5198
tetradic
#98CF51 #51CFC7 #8851CF #CF5159
square
#98CF51 #51CFC7 #8851CF #CF5159
split-complementary
#98CF51 #5159CF #C751CF
monochromatic
#598224 #7AB231 #98CF51 #B4DC81 #D1E9B1

Accessibility & contrast

On white

1.85
#98CF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#98CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CF51
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CF51#FFFFFF#000000##000000
##98CF511.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C143
Deuteranopia (green-blind)
#D0BD5A
Tritanopia (blue-blind)
#9CC7B4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #98cf51;
/* rgb */ color: rgb(152, 207, 81);
/* oklch */ color: oklch(79.1% 0.166 129.5);
Tailwind
colors: {
  custom: {
    50: '#bade87',
    500: '#98cf51',
    950: '#000000',
  },
}
SCSS
$custom: #98cf51;
$custom-light: #bade87;
$custom-dark: #000000;
JSON
{
  "hex": "#98cf51",
  "rgb": {
    "r": 152,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 86.19,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79079,
    "c": 0.16638,
    "h": 129.5
  },
  "luminance": 0.51895
}

Semantic roles & 50–950 ramp

primary
#98CF51
secondary
#5D3B89
accent
#48E08A
background
#FDFEFC
surface
#F8FCF3
border
#D1D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #98CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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