#98D751#98D751

#98D751 is a light, vivid yellow-green. Relative luminance 0.559; OKLCH L 81.0% C 0.177 H 130.8°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#98D751
RGBrgb(152, 215, 81)
HSLhsl(88, 63%, 58%)
HSVhsv(88, 62%, 84%)
CMYKcmyk(29.3%, 0%, 62.3%, 15.7%)
CIE-LABlab(79.54, -41.11, 58.04)
CIE-LCHlch(79.54, 71.12, 125.31°)
OKLaboklab(80.96% -0.1156 0.1338)
OKLCHoklch(80.96% 0.177 130.8)
XYZxyz(38.7342, 55.8692, 16.5260)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D751 #9051D7
analogous
#D7D351 #98D751 #55D751
triadic
#98D751 #5198D7 #D75198
tetradic
#98D751 #51D7D3 #9051D7 #D75155
square
#98D751 #51D7D3 #9051D7 #D75155
split-complementary
#98D751 #5155D7 #D351D7
monochromatic
#5A8D20 #7ABF2C #98D751 #B5E283 #D3EEB5

Accessibility & contrast

On white

1.72
#98D751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#98D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D751
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D751#FFFFFF#000000##000000
##98D7511.001.7212.1712.17
#FFFFFF1.721.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C841
Deuteranopia (green-blind)
#D7C35B
Tritanopia (blue-blind)
#9BCEBB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #98d751;
/* rgb */ color: rgb(152, 215, 81);
/* oklch */ color: oklch(81.0% 0.177 130.8);
Tailwind
colors: {
  custom: {
    50: '#bae387',
    500: '#98d751',
    950: '#000000',
  },
}
SCSS
$custom: #98d751;
$custom-light: #bae387;
$custom-dark: #000000;
JSON
{
  "hex": "#98d751",
  "rgb": {
    "r": 152,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 88.209,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80963,
    "c": 0.17682,
    "h": 130.8
  },
  "luminance": 0.5587
}

Semantic roles & 50–950 ramp

primary
#98D751
secondary
#633993
accent
#42E68F
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D751

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

Preview Lab → · Contrast checker → · Palette generator →

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