#98C342#98C342

#98C342 is a light, vivid yellow-green. Relative luminance 0.461; OKLCH L 76.1% C 0.162 H 125.9°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#98C342
RGBrgb(152, 195, 66)
HSLhsl(80, 52%, 51%)
HSVhsv(80, 66%, 76%)
CMYKcmyk(22.1%, 0%, 66.2%, 23.5%)
CIE-LABlab(73.61, -33.24, 57.85)
CIE-LCHlch(73.61, 66.72, 119.89°)
OKLaboklab(76.12% -0.0952 0.1315)
OKLCHoklch(76.12% 0.162 125.9)
XYZxyz(33.4475, 46.0985, 12.2889)
Luminance0.4610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C342 #6D42C3
analogous
#C3AD42 #98C342 #57C342
triadic
#98C342 #4298C3 #C34298
tetradic
#98C342 #42C3AD #6D42C3 #C34257
square
#98C342 #42C3AD #6D42C3 #C34257
split-complementary
#98C342 #4257C3 #AD42C3
monochromatic
#516921 #759830 #98C342 #B1D270 #CBE09F

Accessibility & contrast

On white

2.05
#98C342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#98C342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C342
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C342#FFFFFF#000000##000000
##98C3421.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB630
Deuteranopia (green-blind)
#C7B44C
Tritanopia (blue-blind)
#9EBAA9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #98c342;
/* rgb */ color: rgb(152, 195, 66);
/* oklch */ color: oklch(76.1% 0.162 125.9);
Tailwind
colors: {
  custom: {
    50: '#bad57d',
    500: '#98c342',
    950: '#000000',
  },
}
SCSS
$custom: #98c342;
$custom-light: #bad57d;
$custom-dark: #000000;
JSON
{
  "hex": "#98c342",
  "rgb": {
    "r": 152,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 80,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76116,
    "c": 0.16238,
    "h": 125.9
  },
  "luminance": 0.46099
}

Semantic roles & 50–950 ramp

primary
#98C342
secondary
#A794CD
accent
#4DDB7C
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #98C342

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

Preview Lab → · Contrast checker → · Palette generator →

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