#98D940#98D940

#98D940 is a light, vivid yellow-green. Relative luminance 0.567; OKLCH L 81.3% C 0.191 H 129.9°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#98D940
RGBrgb(152, 217, 64)
HSLhsl(85, 67%, 55%)
HSVhsv(85, 71%, 85%)
CMYKcmyk(30%, 0%, 70.5%, 14.9%)
CIE-LABlab(79.99, -43.22, 65.17)
CIE-LCHlch(79.99, 78.19, 123.55°)
OKLaboklab(81.29% -0.1227 0.1466)
OKLCHoklch(81.29% 0.191 129.9)
XYZxyz(38.6870, 56.6701, 13.7496)
Luminance0.5667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D940 #8140D9
analogous
#D9CD40 #98D940 #4CD940
triadic
#98D940 #4098D9 #D94098
tetradic
#98D940 #40D9CD #8140D9 #D9404C
square
#98D940 #40D9CD #8140D9 #D9404C
split-complementary
#98D940 #404CD9 #CD40D9
monochromatic
#57841A #79B724 #98D940 #B4E373 #CFEDA6

Accessibility & contrast

On white

1.70
#98D940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#98D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D940
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D940#FFFFFF#000000##000000
##98D9401.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C926
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#9CD0BB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #98d940;
/* rgb */ color: rgb(152, 217, 64);
/* oklch */ color: oklch(81.3% 0.191 129.9);
Tailwind
colors: {
  custom: {
    50: '#bbe57e',
    500: '#98d940',
    950: '#000000',
  },
}
SCSS
$custom: #98d940;
$custom-light: #bbe57e;
$custom-dark: #000000;
JSON
{
  "hex": "#98d940",
  "rgb": {
    "r": 152,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 85.49,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81292,
    "c": 0.19119,
    "h": 129.9
  },
  "luminance": 0.56671
}

Semantic roles & 50–950 ramp

primary
#98D940
secondary
#58328B
accent
#3EEA87
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #98D940

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

Preview Lab → · Contrast checker → · Palette generator →

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