#98C752#98C752

#98C752 is a light, vivid yellow-green. Relative luminance 0.481; OKLCH L 77.2% C 0.155 H 128.0°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#98C752
RGBrgb(152, 199, 82)
HSLhsl(84, 51%, 55%)
HSVhsv(84, 59%, 78%)
CMYKcmyk(23.6%, 0%, 58.8%, 22%)
CIE-LABlab(74.91, -33.82, 52.46)
CIE-LCHlch(74.91, 62.41, 122.81°)
OKLaboklab(77.21% -0.0954 0.1221)
OKLCHoklch(77.21% 0.155 128)
XYZxyz(34.8952, 48.1308, 15.4327)
Luminance0.4813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C752 #8152C7
analogous
#C7BC52 #98C752 #5DC752
triadic
#98C752 #5298C7 #C75298
tetradic
#98C752 #52C7BC #8152C7 #C7525D
square
#98C752 #52C7BC #8152C7 #C7525D
split-complementary
#98C752 #525DC7 #BC52C7
monochromatic
#577827 #79A636 #98C752 #B4D680 #CFE5AE

Accessibility & contrast

On white

1.98
#98C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#98C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C752
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C752#FFFFFF#000000##000000
##98C7521.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA45
Deuteranopia (green-blind)
#CAB75A
Tritanopia (blue-blind)
#9DBFAE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #98c752;
/* rgb */ color: rgb(152, 199, 82);
/* oklch */ color: oklch(77.2% 0.155 128.0);
Tailwind
colors: {
  custom: {
    50: '#b9d887',
    500: '#98c752',
    950: '#000000',
  },
}
SCSS
$custom: #98c752;
$custom-light: #b9d887;
$custom-dark: #000000;
JSON
{
  "hex": "#98c752",
  "rgb": {
    "r": 152,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 84.103,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7721,
    "c": 0.15493,
    "h": 128
  },
  "luminance": 0.48131
}

Semantic roles & 50–950 ramp

primary
#98C752
secondary
#B6A2D3
accent
#4DDB86
background
#FBFDF8
surface
#F6FAF0
border
#D0D3CB
text
#12140B
muted
#81837C

Preview Lab

Preview with #98C752

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

Preview Lab → · Contrast checker → · Palette generator →

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