#98D74F#98D74F

#98D74F is a light, vivid yellow-green. Relative luminance 0.558; OKLCH L 80.9% C 0.178 H 130.6°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#98D74F
RGBrgb(152, 215, 79)
HSLhsl(88, 63%, 58%)
HSVhsv(88, 63%, 84%)
CMYKcmyk(29.3%, 0%, 63.3%, 15.7%)
CIE-LABlab(79.52, -41.27, 58.85)
CIE-LCHlch(79.52, 71.88, 125.04°)
OKLaboklab(80.94% -0.1162 0.1353)
OKLCHoklch(80.94% 0.178 130.6)
XYZxyz(38.6603, 55.8396, 16.1368)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D74F #8E4FD7
analogous
#D7D24F #98D74F #54D74F
triadic
#98D74F #4F98D7 #D74F98
tetradic
#98D74F #4FD7D2 #8E4FD7 #D74F54
square
#98D74F #4FD7D2 #8E4FD7 #D74F54
split-complementary
#98D74F #4F54D7 #D24FD7
monochromatic
#5A8C20 #7ABE2B #98D74F #B5E281 #D2EEB3

Accessibility & contrast

On white

1.73
#98D74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##98D74F#FFFFFF#000000##000000
##98D74F1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98d74f;
/* rgb */ color: rgb(152, 215, 79);
/* oklch */ color: oklch(80.9% 0.178 130.6);
Tailwind
colors: {
  custom: {
    50: '#bae386',
    500: '#98d74f',
    950: '#000000',
  },
}
SCSS
$custom: #98d74f;
$custom-light: #bae386;
$custom-dark: #000000;
JSON
{
  "hex": "#98d74f",
  "rgb": {
    "r": 152,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 87.794,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80944,
    "c": 0.17835,
    "h": 130.6
  },
  "luminance": 0.55841
}

Semantic roles & 50–950 ramp

primary
#98D74F
secondary
#623992
accent
#42E68E
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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