#98C140#98C140

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

Color values

HEX#98C140
RGBrgb(152, 193, 64)
HSLhsl(79, 51%, 50%)
HSVhsv(79, 67%, 76%)
CMYKcmyk(21.2%, 0%, 66.8%, 24.3%)
CIE-LABlab(73.01, -32.46, 58.02)
CIE-LCHlch(73.01, 66.48, 119.22°)
OKLaboklab(75.63% -0.0932 0.1316)
OKLCHoklch(75.63% 0.161 125.3)
XYZxyz(32.9444, 45.1851, 11.8354)
Luminance0.4518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C140 #6940C1
analogous
#C1AA40 #98C140 #57C140
triadic
#98C140 #4098C1 #C14098
tetradic
#98C140 #40C1AA #6940C1 #C14057
square
#98C140 #40C1AA #6940C1 #C14057
split-complementary
#98C140 #4057C1 #AA40C1
monochromatic
#506621 #749430 #98C140 #B1D06E #CADF9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98C140#FFFFFF#000000##000000
##98C1401.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)
#CBB52E
Deuteranopia (green-blind)
#C6B34A
Tritanopia (blue-blind)
#9EB8A7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #98c140;
/* rgb */ color: rgb(152, 193, 64);
/* oklch */ color: oklch(75.6% 0.161 125.3);
Tailwind
colors: {
  custom: {
    50: '#bad47c',
    500: '#98c140',
    950: '#000000',
  },
}
SCSS
$custom: #98c140;
$custom-light: #bad47c;
$custom-dark: #000000;
JSON
{
  "hex": "#98c140",
  "rgb": {
    "r": 152,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 79.07,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75629,
    "c": 0.1613,
    "h": 125.3
  },
  "luminance": 0.45185
}

Semantic roles & 50–950 ramp

primary
#98C140
secondary
#A492CB
accent
#4DDA7A
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #98C140

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

Preview Lab → · Contrast checker → · Palette generator →

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