#98B420#98B420

#98B420 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.4% C 0.164 H 120.6°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#98B420
RGBrgb(152, 180, 32)
HSLhsl(71, 70%, 42%)
HSVhsv(71, 82%, 71%)
CMYKcmyk(15.6%, 0%, 82.2%, 29.4%)
CIE-LABlab(69.06, -27.97, 64.96)
CIE-LCHlch(69.06, 70.72, 113.30°)
OKLaboklab(72.37% -0.0835 0.1411)
OKLCHoklch(72.37% 0.164 120.6)
XYZxyz(29.5315, 39.4223, 7.4197)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B420 #3C20B4
analogous
#B48620 #98B420 #4EB420
triadic
#98B420 #2098B4 #B42098
tetradic
#98B420 #20B486 #3C20B4 #B4204E
square
#98B420 #20B486 #3C20B4 #B4204E
split-complementary
#98B420 #204EB4 #8620B4
monochromatic
#404C0E #6C8017 #98B420 #BCDB36 #CDE46A

Accessibility & contrast

On white

2.36
#98B420 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#98B420 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B420
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B420#FFFFFF#000000##000000
##98B4201.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BCA930
Tritanopia (blue-blind)
#A1AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98b420;
/* rgb */ color: rgb(152, 180, 32);
/* oklch */ color: oklch(72.4% 0.164 120.6);
Tailwind
colors: {
  custom: {
    50: '#baca6b',
    500: '#98b420',
    950: '#000000',
  },
}
SCSS
$custom: #98b420;
$custom-light: #baca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#98b420",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 32
  },
  "hsl": {
    "h": 71.351,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72373,
    "c": 0.16397,
    "h": 120.6
  },
  "luminance": 0.39422
}

Semantic roles & 50–950 ramp

primary
#98B420
secondary
#7966CA
accent
#3BED5D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98B420

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

Preview Lab → · Contrast checker → · Palette generator →

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