#98D948#98D948

#98D948 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.4% C 0.186 H 130.4°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#98D948
RGBrgb(152, 217, 72)
HSLhsl(87, 66%, 57%)
HSVhsv(87, 67%, 85%)
CMYKcmyk(30%, 0%, 66.8%, 14.9%)
CIE-LABlab(80.05, -42.68, 62.23)
CIE-LCHlch(80.05, 75.45, 124.44°)
OKLaboklab(81.35% -0.1206 0.1416)
OKLCHoklch(81.35% 0.186 130.4)
XYZxyz(38.9312, 56.7678, 15.0357)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D948 #8948D9
analogous
#D9D248 #98D948 #50D948
triadic
#98D948 #4898D9 #D94898
tetradic
#98D948 #48D9D2 #8948D9 #D94850
square
#98D948 #48D9D2 #8948D9 #D94850
split-complementary
#98D948 #4850D9 #D248D9
monochromatic
#598A1D #7ABD27 #98D948 #B5E47B #D1EEAD

Accessibility & contrast

On white

1.70
#98D948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#98D948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D948
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D948#FFFFFF#000000##000000
##98D9481.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA33
Deuteranopia (green-blind)
#DAC554
Tritanopia (blue-blind)
#9BD0BC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #98d948;
/* rgb */ color: rgb(152, 217, 72);
/* oklch */ color: oklch(81.4% 0.186 130.4);
Tailwind
colors: {
  custom: {
    50: '#bae582',
    500: '#98d948',
    950: '#000000',
  },
}
SCSS
$custom: #98d948;
$custom-light: #bae582;
$custom-dark: #000000;
JSON
{
  "hex": "#98d948",
  "rgb": {
    "r": 152,
    "g": 217,
    "b": 72
  },
  "hsl": {
    "h": 86.897,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81354,
    "c": 0.18596,
    "h": 130.4
  },
  "luminance": 0.56769
}

Semantic roles & 50–950 ramp

primary
#98D948
secondary
#5E3590
accent
#3FE98B
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #98D948

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

Preview Lab → · Contrast checker → · Palette generator →

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