#98D151#98D151

#98D151 is a light, vivid yellow-green. Relative luminance 0.529; OKLCH L 79.5% C 0.169 H 129.8°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#98D151
RGBrgb(152, 209, 81)
HSLhsl(87, 58%, 57%)
HSVhsv(87, 61%, 82%)
CMYKcmyk(27.3%, 0%, 61.2%, 18%)
CIE-LABlab(77.80, -38.45, 56.12)
CIE-LCHlch(77.80, 68.03, 124.41°)
OKLaboklab(79.55% -0.1083 0.1298)
OKLCHoklch(79.55% 0.169 129.8)
XYZxyz(37.2343, 52.8694, 16.0261)
Luminance0.5287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D151 #8A51D1
analogous
#D1CA51 #98D151 #58D151
triadic
#98D151 #5198D1 #D15198
tetradic
#98D151 #51D1CA #8A51D1 #D15158
square
#98D151 #51D1CA #8A51D1 #D15158
split-complementary
#98D151 #5158D1 #CA51D1
monochromatic
#598523 #7AB530 #98D151 #B5DE81 #D1EBB2

Accessibility & contrast

On white

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

On black

11.57
#98D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D151
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D151#FFFFFF#000000##000000
##98D1511.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98d151;
/* rgb */ color: rgb(152, 209, 81);
/* oklch */ color: oklch(79.5% 0.169 129.8);
Tailwind
colors: {
  custom: {
    50: '#badf87',
    500: '#98d151',
    950: '#000000',
  },
}
SCSS
$custom: #98d151;
$custom-light: #badf87;
$custom-dark: #000000;
JSON
{
  "hex": "#98d151",
  "rgb": {
    "r": 152,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 86.719,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79549,
    "c": 0.169,
    "h": 129.8
  },
  "luminance": 0.5287
}

Semantic roles & 50–950 ramp

primary
#98D151
secondary
#5F3B8B
accent
#46E18B
background
#FDFEFC
surface
#F8FCF3
border
#D1D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D151

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

Preview Lab → · Contrast checker → · Palette generator →

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