#98B242#98B242

#98B242 is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 72.1% C 0.141 H 121.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#98B242
RGBrgb(152, 178, 66)
HSLhsl(74, 46%, 48%)
HSVhsv(74, 63%, 70%)
CMYKcmyk(14.6%, 0%, 62.9%, 30.2%)
CIE-LABlab(68.69, -25.15, 52.61)
CIE-LCHlch(68.69, 58.31, 115.55°)
OKLaboklab(72.14% -0.0728 0.1205)
OKLCHoklch(72.14% 0.141 121.1)
XYZxyz(29.8530, 38.9096, 11.0908)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B242 #5C42B2
analogous
#B29442 #98B242 #60B242
triadic
#98B242 #4298B2 #B24298
tetradic
#98B242 #42B294 #5C42B2 #B24260
square
#98B242 #42B294 #5C42B2 #B24260
split-complementary
#98B242 #4260B2 #9442B2
monochromatic
#4C5921 #728531 #98B242 #B2C86A #C9D896

Accessibility & contrast

On white

2.39
#98B242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#98B242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B242
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B242#FFFFFF#000000##000000
##98B2421.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA834
Deuteranopia (green-blind)
#B9A84A
Tritanopia (blue-blind)
#A0A99B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b242;
/* rgb */ color: rgb(152, 178, 66);
/* oklch */ color: oklch(72.1% 0.141 121.1);
Tailwind
colors: {
  custom: {
    50: '#b9c97b',
    500: '#98b242',
    950: '#000000',
  },
}
SCSS
$custom: #98b242;
$custom-light: #b9c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#98b242",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 73.929,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72141,
    "c": 0.14077,
    "h": 121.1
  },
  "luminance": 0.3891
}

Semantic roles & 50–950 ramp

primary
#98B242
secondary
#998CC4
accent
#52D671
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #98B242

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

Preview Lab → · Contrast checker → · Palette generator →

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