#98CB40#98CB40

#98CB40 is a light, vivid yellow-green. Relative luminance 0.498; OKLCH L 78.0% C 0.174 H 127.5°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#98CB40
RGBrgb(152, 203, 64)
HSLhsl(82, 57%, 52%)
HSVhsv(82, 68%, 80%)
CMYKcmyk(25.1%, 0%, 68.5%, 20.4%)
CIE-LABlab(75.92, -37.04, 61.03)
CIE-LCHlch(75.92, 71.39, 121.25°)
OKLaboklab(77.98% -0.1058 0.1379)
OKLCHoklch(77.98% 0.174 127.5)
XYZxyz(35.2303, 49.7567, 12.5974)
Luminance0.4976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CB40 #7340CB
analogous
#CBB840 #98CB40 #53CB40
triadic
#98CB40 #4098CB #CB4098
tetradic
#98CB40 #40CBB8 #7340CB #CB4053
square
#98CB40 #40CBB8 #7340CB #CB4053
split-complementary
#98CB40 #4053CB #B840CB
monochromatic
#53721F #77A22C #98CB40 #B2D870 #CCE5A0

Accessibility & contrast

On white

1.92
#98CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#98CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CB40
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CB40#FFFFFF#000000##000000
##98CB401.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2B
Deuteranopia (green-blind)
#CEBA4C
Tritanopia (blue-blind)
#9DC2AF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #98cb40;
/* rgb */ color: rgb(152, 203, 64);
/* oklch */ color: oklch(78.0% 0.174 127.5);
Tailwind
colors: {
  custom: {
    50: '#badb7c',
    500: '#98cb40',
    950: '#000000',
  },
}
SCSS
$custom: #98cb40;
$custom-light: #badb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#98cb40",
  "rgb": {
    "r": 152,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 82.014,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77983,
    "c": 0.17385,
    "h": 127.5
  },
  "luminance": 0.49757
}

Semantic roles & 50–950 ramp

primary
#98CB40
secondary
#AB95D2
accent
#47E080
background
#FBFDF7
surface
#F7FBEE
border
#D0D4C9
text
#12150A
muted
#81837C

Preview Lab

Preview with #98CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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