#98C142#98C142

#98C142 is a light, vivid yellow-green. Relative luminance 0.452; OKLCH L 75.6% C 0.160 H 125.4°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#98C142
RGBrgb(152, 193, 66)
HSLhsl(79, 51%, 51%)
HSVhsv(79, 66%, 76%)
CMYKcmyk(21.2%, 0%, 65.8%, 24.3%)
CIE-LABlab(73.03, -32.31, 57.24)
CIE-LCHlch(73.03, 65.73, 119.45°)
OKLaboklab(75.65% -0.0926 0.1303)
OKLCHoklch(75.65% 0.16 125.4)
XYZxyz(33.0024, 45.2083, 12.1406)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C142 #6B42C1
analogous
#C1AA42 #98C142 #58C142
triadic
#98C142 #4298C1 #C14298
tetradic
#98C142 #42C1AA #6B42C1 #C14258
square
#98C142 #42C1AA #6B42C1 #C14258
split-complementary
#98C142 #4258C1 #AA42C1
monochromatic
#516722 #759531 #98C142 #B1D070 #CADF9E

Accessibility & contrast

On white

2.09
#98C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#98C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C142
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C142#FFFFFF#000000##000000
##98C1421.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB531
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#9EB8A7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #98c142;
/* rgb */ color: rgb(152, 193, 66);
/* oklch */ color: oklch(75.6% 0.160 125.4);
Tailwind
colors: {
  custom: {
    50: '#b9d47d',
    500: '#98c142',
    950: '#000000',
  },
}
SCSS
$custom: #98c142;
$custom-light: #b9d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#98c142",
  "rgb": {
    "r": 152,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 79.37,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75646,
    "c": 0.15984,
    "h": 125.4
  },
  "luminance": 0.45209
}

Semantic roles & 50–950 ramp

primary
#98C142
secondary
#A593CC
accent
#4EDA7B
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #98C142

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

Preview Lab → · Contrast checker → · Palette generator →

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