#98BF42#98BF42

#98BF42 is a light, vivid yellow-green. Relative luminance 0.443; OKLCH L 75.2% C 0.157 H 124.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#98BF42
RGBrgb(152, 191, 66)
HSLhsl(79, 49%, 50%)
HSVhsv(79, 65%, 75%)
CMYKcmyk(20.4%, 0%, 65.4%, 25.1%)
CIE-LABlab(72.45, -31.38, 56.62)
CIE-LCHlch(72.45, 64.74, 118.99°)
OKLaboklab(75.18% -0.0901 0.129)
OKLCHoklch(75.18% 0.157 124.9)
XYZxyz(32.5633, 44.3300, 11.9942)
Luminance0.4433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF42 #6942BF
analogous
#BFA742 #98BF42 #59BF42
triadic
#98BF42 #4298BF #BF4298
tetradic
#98BF42 #42BFA7 #6942BF #BF4259
square
#98BF42 #42BFA7 #6942BF #BF4259
split-complementary
#98BF42 #4259BF #A742BF
monochromatic
#506522 #749232 #98BF42 #B1CE70 #CADE9D

Accessibility & contrast

On white

2.13
#98BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#98BF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BF42
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BF42#FFFFFF#000000##000000
##98BF421.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B331
Deuteranopia (green-blind)
#C4B14C
Tritanopia (blue-blind)
#9FB6A5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98bf42;
/* rgb */ color: rgb(152, 191, 66);
/* oklch */ color: oklch(75.2% 0.157 124.9);
Tailwind
colors: {
  custom: {
    50: '#b9d27d',
    500: '#98bf42',
    950: '#000000',
  },
}
SCSS
$custom: #98bf42;
$custom-light: #b9d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf42",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 78.72,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75177,
    "c": 0.1573,
    "h": 124.9
  },
  "luminance": 0.4433
}

Semantic roles & 50–950 ramp

primary
#98BF42
secondary
#A493CA
accent
#4FD97A
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #98BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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