#98C242#98C242

#98C242 is a light, vivid yellow-green. Relative luminance 0.457; OKLCH L 75.9% C 0.161 H 125.7°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#98C242
RGBrgb(152, 194, 66)
HSLhsl(80, 51%, 51%)
HSVhsv(80, 66%, 76%)
CMYKcmyk(21.6%, 0%, 66%, 23.9%)
CIE-LABlab(73.32, -32.78, 57.54)
CIE-LCHlch(73.32, 66.22, 119.67°)
OKLaboklab(75.88% -0.0939 0.1309)
OKLCHoklch(75.88% 0.161 125.7)
XYZxyz(33.2242, 45.6519, 12.2145)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C242 #6C42C2
analogous
#C2AC42 #98C242 #58C242
triadic
#98C242 #4298C2 #C24298
tetradic
#98C242 #42C2AC #6C42C2 #C24258
square
#98C242 #42C2AC #6C42C2 #C24258
split-complementary
#98C242 #4258C2 #AC42C2
monochromatic
#516822 #759631 #98C242 #B1D170 #CAE09F

Accessibility & contrast

On white

2.07
#98C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#98C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C242
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C242#FFFFFF#000000##000000
##98C2421.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB631
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#9EB9A8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #98c242;
/* rgb */ color: rgb(152, 194, 66);
/* oklch */ color: oklch(75.9% 0.161 125.7);
Tailwind
colors: {
  custom: {
    50: '#b9d47d',
    500: '#98c242',
    950: '#000000',
  },
}
SCSS
$custom: #98c242;
$custom-light: #b9d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#98c242",
  "rgb": {
    "r": 152,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 79.688,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75881,
    "c": 0.16111,
    "h": 125.7
  },
  "luminance": 0.45652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98C242

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

Preview Lab → · Contrast checker → · Palette generator →

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