#98C941#98C941

#98C941 is a light, vivid yellow-green. Relative luminance 0.488; OKLCH L 77.5% C 0.171 H 127.2°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#98C941
RGBrgb(152, 201, 65)
HSLhsl(82, 56%, 52%)
HSVhsv(82, 68%, 79%)
CMYKcmyk(24.4%, 0%, 67.7%, 21.2%)
CIE-LABlab(75.35, -36.07, 60.05)
CIE-LCHlch(75.35, 70.05, 120.99°)
OKLaboklab(77.52% -0.1031 0.136)
OKLCHoklch(77.52% 0.171 127.2)
XYZxyz(34.7897, 48.8297, 12.5922)
Luminance0.4883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C941 #7241C9
analogous
#C9B641 #98C941 #54C941
triadic
#98C941 #4198C9 #C94198
tetradic
#98C941 #41C9B6 #7241C9 #C94154
square
#98C941 #41C9B6 #7241C9 #C94154
split-complementary
#98C941 #4154C9 #B641C9
monochromatic
#537020 #769F2D #98C941 #B2D771 #CCE4A0

Accessibility & contrast

On white

1.95
#98C941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#98C941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C941
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C941#FFFFFF#000000##000000
##98C9411.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2D
Deuteranopia (green-blind)
#CCB94C
Tritanopia (blue-blind)
#9EC0AE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #98c941;
/* rgb */ color: rgb(152, 201, 65);
/* oklch */ color: oklch(77.5% 0.171 127.2);
Tailwind
colors: {
  custom: {
    50: '#bad97d',
    500: '#98c941',
    950: '#000000',
  },
}
SCSS
$custom: #98c941;
$custom-light: #bad97d;
$custom-dark: #000000;
JSON
{
  "hex": "#98c941",
  "rgb": {
    "r": 152,
    "g": 201,
    "b": 65
  },
  "hsl": {
    "h": 81.618,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77519,
    "c": 0.17067,
    "h": 127.2
  },
  "luminance": 0.4883
}

Semantic roles & 50–950 ramp

primary
#98C941
secondary
#AB95D1
accent
#49DF7F
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #98C941

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

Preview Lab → · Contrast checker → · Palette generator →

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