#98D451#98D451

#98D451 is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.3% C 0.173 H 130.3°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#98D451
RGBrgb(152, 212, 81)
HSLhsl(87, 60%, 57%)
HSVhsv(87, 62%, 83%)
CMYKcmyk(28.3%, 0%, 61.8%, 16.9%)
CIE-LABlab(78.67, -39.78, 57.08)
CIE-LCHlch(78.67, 69.58, 124.88°)
OKLaboklab(80.26% -0.1119 0.1318)
OKLCHoklch(80.26% 0.173 130.3)
XYZxyz(37.9773, 54.3554, 16.2737)
Luminance0.5436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D451 #8D51D4
analogous
#D4CF51 #98D451 #56D451
triadic
#98D451 #5198D4 #D45198
tetradic
#98D451 #51D4CF #8D51D4 #D45156
square
#98D451 #51D4CF #8D51D4 #D45156
split-complementary
#98D451 #5156D4 #CF51D4
monochromatic
#5A8922 #7ABA2E #98D451 #B5E082 #D2ECB3

Accessibility & contrast

On white

1.77
#98D451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#98D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D451
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D451#FFFFFF#000000##000000
##98D4511.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC641
Deuteranopia (green-blind)
#D5C15B
Tritanopia (blue-blind)
#9BCBB8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #98d451;
/* rgb */ color: rgb(152, 212, 81);
/* oklch */ color: oklch(80.3% 0.173 130.3);
Tailwind
colors: {
  custom: {
    50: '#bae187',
    500: '#98d451',
    950: '#000000',
  },
}
SCSS
$custom: #98d451;
$custom-light: #bae187;
$custom-dark: #000000;
JSON
{
  "hex": "#98d451",
  "rgb": {
    "r": 152,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 87.481,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80256,
    "c": 0.17293,
    "h": 130.3
  },
  "luminance": 0.54356
}

Semantic roles & 50–950 ramp

primary
#98D451
secondary
#613A8F
accent
#44E48D
background
#FDFEFC
surface
#F8FCF3
border
#D1D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D451

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

Preview Lab → · Contrast checker → · Palette generator →

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