#98D152#98D152

#98D152 is a light, vivid yellow-green. Relative luminance 0.529; OKLCH L 79.6% C 0.168 H 129.9°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#98D152
RGBrgb(152, 209, 82)
HSLhsl(87, 58%, 57%)
HSVhsv(87, 61%, 82%)
CMYKcmyk(27.3%, 0%, 60.8%, 18%)
CIE-LABlab(77.81, -38.36, 55.70)
CIE-LCHlch(77.81, 67.64, 124.56°)
OKLaboklab(79.56% -0.1079 0.129)
OKLCHoklch(79.56% 0.168 129.9)
XYZxyz(37.2721, 52.8846, 16.2250)
Luminance0.5289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D152 #8B52D1
analogous
#D1CB52 #98D152 #59D152
triadic
#98D152 #5298D1 #D15298
tetradic
#98D152 #52D1CB #8B52D1 #D15259
square
#98D152 #52D1CB #8B52D1 #D15259
split-complementary
#98D152 #5259D1 #CB52D1
monochromatic
#598523 #7AB630 #98D152 #B5DE82 #D2EBB3

Accessibility & contrast

On white

1.81
#98D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#98D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D152
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D152#FFFFFF#000000##000000
##98D1521.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC343
Deuteranopia (green-blind)
#D2BF5B
Tritanopia (blue-blind)
#9CC9B6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #98d152;
/* rgb */ color: rgb(152, 209, 82);
/* oklch */ color: oklch(79.6% 0.168 129.9);
Tailwind
colors: {
  custom: {
    50: '#badf87',
    500: '#98d152',
    950: '#000000',
  },
}
SCSS
$custom: #98d152;
$custom-light: #badf87;
$custom-dark: #000000;
JSON
{
  "hex": "#98d152",
  "rgb": {
    "r": 152,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 86.929,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79559,
    "c": 0.16819,
    "h": 129.9
  },
  "luminance": 0.52886
}

Semantic roles & 50–950 ramp

primary
#98D152
secondary
#5F3B8C
accent
#47E18C
background
#FDFEFC
surface
#F8FCF3
border
#D1D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D152

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

Preview Lab → · Contrast checker → · Palette generator →

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