#98C72A#98C72A

#98C72A is a light, vivid yellow-green. Relative luminance 0.477; OKLCH L 76.9% C 0.182 H 125.7°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#98C72A
RGBrgb(152, 199, 42)
HSLhsl(78, 65%, 47%)
HSVhsv(78, 79%, 78%)
CMYKcmyk(23.6%, 0%, 78.9%, 22%)
CIE-LABlab(74.63, -36.43, 67.19)
CIE-LCHlch(74.63, 76.44, 118.47°)
OKLaboklab(76.9% -0.1059 0.1475)
OKLCHoklch(76.9% 0.182 125.7)
XYZxyz(33.7905, 47.6889, 9.6147)
Luminance0.4769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C72A #592AC7
analogous
#C7A82A #98C72A #49C72A
triadic
#98C72A #2A98C7 #C72A98
tetradic
#98C72A #2AC7A8 #592AC7 #C72A49
square
#98C72A #2AC7A8 #592AC7 #C72A49
split-complementary
#98C72A #2A49C7 #A82AC7
monochromatic
#4B6215 #71941F #98C72A #B2DB53 #C9E586

Accessibility & contrast

On white

1.99
#98C72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#98C72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C72A
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C72A#FFFFFF#000000##000000
##98C72A1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2B900
Deuteranopia (green-blind)
#CCB73B
Tritanopia (blue-blind)
#9FBDAA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #98c72a;
/* rgb */ color: rgb(152, 199, 42);
/* oklch */ color: oklch(76.9% 0.182 125.7);
Tailwind
colors: {
  custom: {
    50: '#bbd871',
    500: '#98c72a',
    950: '#000000',
  },
}
SCSS
$custom: #98c72a;
$custom-light: #bbd871;
$custom-dark: #000000;
JSON
{
  "hex": "#98c72a",
  "rgb": {
    "r": 152,
    "g": 199,
    "b": 42
  },
  "hsl": {
    "h": 77.962,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76895,
    "c": 0.18157,
    "h": 125.7
  },
  "luminance": 0.47689
}

Semantic roles & 50–950 ramp

primary
#98C72A
secondary
#967ECF
accent
#40E872
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #98C72A

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

Preview Lab → · Contrast checker → · Palette generator →

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