#98D254#98D254

#98D254 is a light, vivid yellow-green. Relative luminance 0.534; OKLCH L 79.8% C 0.168 H 130.3°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#98D254
RGBrgb(152, 210, 84)
HSLhsl(88, 58%, 58%)
HSVhsv(88, 60%, 82%)
CMYKcmyk(27.6%, 0%, 60%, 17.6%)
CIE-LABlab(78.12, -38.64, 55.18)
CIE-LCHlch(78.12, 67.36, 125.00°)
OKLaboklab(79.82% -0.1085 0.1281)
OKLCHoklch(79.82% 0.168 130.3)
XYZxyz(37.5954, 53.4077, 16.7137)
Luminance0.5341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D254 #8E54D2
analogous
#D2CD54 #98D254 #59D254
triadic
#98D254 #5498D2 #D25498
tetradic
#98D254 #54D2CD #8E54D2 #D25459
square
#98D254 #54D2CD #8E54D2 #D25459
split-complementary
#98D254 #5459D2 #CD54D2
monochromatic
#5A8824 #7AB831 #98D254 #B5DF84 #D2EBB5

Accessibility & contrast

On white

1.80
#98D254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#98D254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D254
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D254#FFFFFF#000000##000000
##98D2541.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC446
Deuteranopia (green-blind)
#D3C05D
Tritanopia (blue-blind)
#9BCAB7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #98d254;
/* rgb */ color: rgb(152, 210, 84);
/* oklch */ color: oklch(79.8% 0.168 130.3);
Tailwind
colors: {
  custom: {
    50: '#bae089',
    500: '#98d254',
    950: '#000000',
  },
}
SCSS
$custom: #98d254;
$custom-light: #bae089;
$custom-dark: #000000;
JSON
{
  "hex": "#98d254",
  "rgb": {
    "r": 152,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 87.619,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79815,
    "c": 0.16789,
    "h": 130.3
  },
  "luminance": 0.53409
}

Semantic roles & 50–950 ramp

primary
#98D254
secondary
#623C8E
accent
#46E28E
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D254

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

Preview Lab → · Contrast checker → · Palette generator →

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