#98CE42#98CE42

#98CE42 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 78.7% C 0.176 H 128.2°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#98CE42
RGBrgb(152, 206, 66)
HSLhsl(83, 59%, 53%)
HSVhsv(83, 68%, 81%)
CMYKcmyk(26.2%, 0%, 68%, 19.2%)
CIE-LABlab(76.81, -38.25, 61.17)
CIE-LCHlch(76.81, 72.15, 122.02°)
OKLaboklab(78.71% -0.109 0.1385)
OKLCHoklch(78.71% 0.176 128.2)
XYZxyz(36.0035, 51.2106, 13.1410)
Luminance0.5121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CE42 #7842CE
analogous
#CEBE42 #98CE42 #52CE42
triadic
#98CE42 #4298CE #CE4298
tetradic
#98CE42 #42CEBE #7842CE #CE4252
square
#98CE42 #42CEBE #7842CE #CE4252
split-complementary
#98CE42 #4252CE #BE42CE
monochromatic
#55771F #78A72B #98CE42 #B2DB73 #CDE7A3

Accessibility & contrast

On white

1.87
#98CE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#98CE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CE42
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CE42#FFFFFF#000000##000000
##98CE421.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#D0BC4E
Tritanopia (blue-blind)
#9DC5B2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #98ce42;
/* rgb */ color: rgb(152, 206, 66);
/* oklch */ color: oklch(78.7% 0.176 128.2);
Tailwind
colors: {
  custom: {
    50: '#badd7e',
    500: '#98ce42',
    950: '#000000',
  },
}
SCSS
$custom: #98ce42;
$custom-light: #badd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#98ce42",
  "rgb": {
    "r": 152,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 83.143,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78706,
    "c": 0.17626,
    "h": 128.2
  },
  "luminance": 0.51211
}

Semantic roles & 50–950 ramp

primary
#98CE42
secondary
#52357F
accent
#46E282
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #98CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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