#98BB20#98BB20

#98BB20 is a light, vivid yellow-green. Relative luminance 0.423; OKLCH L 74.0% C 0.172 H 122.6°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#98BB20
RGBrgb(152, 187, 32)
HSLhsl(74, 71%, 43%)
HSVhsv(74, 83%, 73%)
CMYKcmyk(18.7%, 0%, 82.9%, 26.7%)
CIE-LABlab(71.09, -31.29, 66.73)
CIE-LCHlch(71.09, 73.70, 115.12°)
OKLaboklab(74.02% -0.0925 0.1449)
OKLCHoklch(74.02% 0.172 122.6)
XYZxyz(30.9804, 42.3202, 7.9027)
Luminance0.4232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BB20 #4320BB
analogous
#BB9020 #98BB20 #4BBB20
triadic
#98BB20 #2098BB #BB2098
tetradic
#98BB20 #20BB90 #4320BB #BB204B
square
#98BB20 #20BB90 #4320BB #BB204B
split-complementary
#98BB20 #204BBB #9020BB
monochromatic
#43520E #6E8717 #98BB20 #B9DD3B #CBE66F

Accessibility & contrast

On white

2.22
#98BB20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#98BB20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BB20
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BB20#FFFFFF#000000##000000
##98BB201.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C2AE32
Tritanopia (blue-blind)
#A0B1A0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98bb20;
/* rgb */ color: rgb(152, 187, 32);
/* oklch */ color: oklch(74.0% 0.172 122.6);
Tailwind
colors: {
  custom: {
    50: '#bacf6c',
    500: '#98bb20',
    950: '#000000',
  },
}
SCSS
$custom: #98bb20;
$custom-light: #bacf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#98bb20",
  "rgb": {
    "r": 152,
    "g": 187,
    "b": 32
  },
  "hsl": {
    "h": 73.548,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.74017,
    "c": 0.17195,
    "h": 122.6
  },
  "luminance": 0.4232
}

Semantic roles & 50–950 ramp

primary
#98BB20
secondary
#806ACD
accent
#3AEE63
background
#FBFCF6
surface
#F7F9EC
border
#D0D2C7
text
#121308
muted
#81827B

Preview Lab

Preview with #98BB20

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

Preview Lab → · Contrast checker → · Palette generator →

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