#98C052#98C052

#98C052 is a light, vivid yellow-green. Relative luminance 0.450; OKLCH L 75.6% C 0.146 H 126.4°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#98C052
RGBrgb(152, 192, 82)
HSLhsl(82, 47%, 54%)
HSVhsv(82, 57%, 75%)
CMYKcmyk(20.8%, 0%, 57.3%, 24.7%)
CIE-LABlab(72.88, -30.55, 50.16)
CIE-LCHlch(72.88, 58.73, 121.34°)
OKLaboklab(75.57% -0.0863 0.1172)
OKLCHoklch(75.57% 0.146 126.4)
XYZxyz(33.3215, 44.9834, 14.9082)
Luminance0.4498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C052 #7A52C0
analogous
#C0B152 #98C052 #61C052
triadic
#98C052 #5298C0 #C05298
tetradic
#98C052 #52C0B1 #7A52C0 #C05261
square
#98C052 #52C0B1 #7A52C0 #C05261
split-complementary
#98C052 #5261C0 #B152C0
monochromatic
#556F28 #789C39 #98C052 #B3D07F #CDE1AC

Accessibility & contrast

On white

2.10
#98C052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#98C052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C052
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C052#FFFFFF#000000##000000
##98C0521.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B447
Deuteranopia (green-blind)
#C4B259
Tritanopia (blue-blind)
#9DB8A8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #98c052;
/* rgb */ color: rgb(152, 192, 82);
/* oklch */ color: oklch(75.6% 0.146 126.4);
Tailwind
colors: {
  custom: {
    50: '#b9d386',
    500: '#98c052',
    950: '#000000',
  },
}
SCSS
$custom: #98c052;
$custom-light: #b9d386;
$custom-dark: #000000;
JSON
{
  "hex": "#98c052",
  "rgb": {
    "r": 152,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 81.818,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75572,
    "c": 0.14553,
    "h": 126.4
  },
  "luminance": 0.44984
}

Semantic roles & 50–950 ramp

primary
#98C052
secondary
#B09FCE
accent
#52D682
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#12140B
muted
#81827C

Preview Lab

Preview with #98C052

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

Preview Lab → · Contrast checker → · Palette generator →

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