#98C240#98C240

#98C240 is a light, vivid yellow-green. Relative luminance 0.456; OKLCH L 75.9% C 0.163 H 125.5°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#98C240
RGBrgb(152, 194, 64)
HSLhsl(79, 52%, 51%)
HSVhsv(79, 67%, 76%)
CMYKcmyk(21.6%, 0%, 67%, 23.9%)
CIE-LABlab(73.30, -32.92, 58.32)
CIE-LCHlch(73.30, 66.97, 119.44°)
OKLaboklab(75.86% -0.0945 0.1323)
OKLCHoklch(75.86% 0.163 125.5)
XYZxyz(33.1663, 45.6287, 11.9094)
Luminance0.4563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C240 #6A40C2
analogous
#C2AB40 #98C240 #57C240
triadic
#98C240 #4098C2 #C24098
tetradic
#98C240 #40C2AB #6A40C2 #C24057
square
#98C240 #40C2AB #6A40C2 #C24057
split-complementary
#98C240 #4057C2 #AB40C2
monochromatic
#506721 #749530 #98C240 #B1D16E #CAE09D

Accessibility & contrast

On white

2.07
#98C240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#98C240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C240
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C240#FFFFFF#000000##000000
##98C2401.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB62D
Deuteranopia (green-blind)
#C7B34A
Tritanopia (blue-blind)
#9EB9A8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #98c240;
/* rgb */ color: rgb(152, 194, 64);
/* oklch */ color: oklch(75.9% 0.163 125.5);
Tailwind
colors: {
  custom: {
    50: '#bad47c',
    500: '#98c240',
    950: '#000000',
  },
}
SCSS
$custom: #98c240;
$custom-light: #bad47c;
$custom-dark: #000000;
JSON
{
  "hex": "#98c240",
  "rgb": {
    "r": 152,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 79.385,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75864,
    "c": 0.16255,
    "h": 125.5
  },
  "luminance": 0.45629
}

Semantic roles & 50–950 ramp

primary
#98C240
secondary
#A592CC
accent
#4DDB7B
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #98C240

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

Preview Lab → · Contrast checker → · Palette generator →

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