#98BC28#98BC28

#98BC28 is a light, vivid yellow-green. Relative luminance 0.428; OKLCH L 74.3% C 0.170 H 123.0°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#98BC28
RGBrgb(152, 188, 40)
HSLhsl(75, 65%, 45%)
HSVhsv(75, 79%, 74%)
CMYKcmyk(19.1%, 0%, 78.7%, 26.3%)
CIE-LABlab(71.42, -31.45, 64.85)
CIE-LCHlch(71.42, 72.07, 115.88°)
OKLaboklab(74.29% -0.0924 0.1422)
OKLCHoklch(74.29% 0.17 123)
XYZxyz(31.3156, 42.7949, 8.6175)
Luminance0.4279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BC28 #4C28BC
analogous
#BC9628 #98BC28 #4EBC28
triadic
#98BC28 #2898BC #BC2898
tetradic
#98BC28 #28BC96 #4C28BC #BC284E
square
#98BC28 #28BC96 #4C28BC #BC284E
split-complementary
#98BC28 #284EBC #9628BC
monochromatic
#465713 #6F8A1D #98BC28 #B5D849 #CAE37B

Accessibility & contrast

On white

2.20
#98BC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#98BC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BC28
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BC28#FFFFFF#000000##000000
##98BC281.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#A0B2A1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #98bc28;
/* rgb */ color: rgb(152, 188, 40);
/* oklch */ color: oklch(74.3% 0.170 123.0);
Tailwind
colors: {
  custom: {
    50: '#bad06f',
    500: '#98bc28',
    950: '#000000',
  },
}
SCSS
$custom: #98bc28;
$custom-light: #bad06f;
$custom-dark: #000000;
JSON
{
  "hex": "#98bc28",
  "rgb": {
    "r": 152,
    "g": 188,
    "b": 40
  },
  "hsl": {
    "h": 74.595,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7429,
    "c": 0.16962,
    "h": 123
  },
  "luminance": 0.42795
}

Semantic roles & 50–950 ramp

primary
#98BC28
secondary
#8A75CB
accent
#40E869
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #98BC28

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

Preview Lab → · Contrast checker → · Palette generator →

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