#98C962#98C962

#98C962 is a light, vivid yellow-green. Relative luminance 0.493; OKLCH L 77.9% C 0.143 H 130.2°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#98C962
RGBrgb(152, 201, 98)
HSLhsl(89, 49%, 59%)
HSVhsv(89, 51%, 79%)
CMYKcmyk(24.4%, 0%, 51.2%, 21.2%)
CIE-LABlab(75.66, -33.17, 45.92)
CIE-LCHlch(75.66, 56.65, 125.84°)
OKLaboklab(77.87% -0.0923 0.1094)
OKLCHoklch(77.87% 0.143 130.2)
XYZxyz(36.0398, 49.3297, 19.1757)
Luminance0.4933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C962 #9362C9
analogous
#C9C662 #98C962 #64C962
triadic
#98C962 #6298C9 #C96298
tetradic
#98C962 #62C9C6 #9362C9 #C96264
square
#98C962 #62C9C6 #9362C9 #C96264
split-complementary
#98C962 #6264C9 #C662C9
monochromatic
#5A832D #7AB13D #98C962 #B6D990 #D4E8BD

Accessibility & contrast

On white

1.93
#98C962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#98C962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C962
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C962#FFFFFF#000000##000000
##98C9621.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD59
Deuteranopia (green-blind)
#CAB968
Tritanopia (blue-blind)
#9BC2B1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #98c962;
/* rgb */ color: rgb(152, 201, 98);
/* oklch */ color: oklch(77.9% 0.143 130.2);
Tailwind
colors: {
  custom: {
    50: '#b8d991',
    500: '#98c962',
    950: '#000000',
  },
}
SCSS
$custom: #98c962;
$custom-light: #b8d991;
$custom-dark: #000000;
JSON
{
  "hex": "#98c962",
  "rgb": {
    "r": 152,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 88.544,
    "s": 48.815,
    "l": 58.627
  },
  "oklch": {
    "l": 0.77871,
    "c": 0.14312,
    "h": 130.2
  },
  "luminance": 0.49331
}

Semantic roles & 50–950 ramp

primary
#98C962
secondary
#C2AFD8
accent
#4FD891
background
#FBFDF9
surface
#F6FAF1
border
#D0D3CB
text
#12140D
muted
#81837E

Preview Lab

Preview with #98C962

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

Preview Lab → · Contrast checker → · Palette generator →

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