#98B421#98B421

#98B421 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.89:1 contrast (WCAG AA passes).

Color values

HEX#98B421
RGBrgb(152, 180, 33)
HSLhsl(71, 69%, 42%)
HSVhsv(71, 82%, 71%)
CMYKcmyk(15.6%, 0%, 81.7%, 29.4%)
CIE-LABlab(69.06, -27.93, 64.70)
CIE-LCHlch(69.06, 70.47, 113.35°)
OKLaboklab(72.38% -0.0833 0.1407)
OKLCHoklch(72.38% 0.164 120.6)
XYZxyz(29.5453, 39.4278, 7.4924)
Luminance0.3943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B421 #3D21B4
analogous
#B48721 #98B421 #4EB421
triadic
#98B421 #2198B4 #B42198
tetradic
#98B421 #21B487 #3D21B4 #B4214E
square
#98B421 #21B487 #3D21B4 #B4214E
split-complementary
#98B421 #214EB4 #8721B4
monochromatic
#414D0E #6C8018 #98B421 #BBDA38 #CDE46B

Accessibility & contrast

On white

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

On black

8.89
#98B421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B421
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B421#FFFFFF#000000##000000
##98B4211.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98b421;
/* rgb */ color: rgb(152, 180, 33);
/* oklch */ color: oklch(72.4% 0.164 120.6);
Tailwind
colors: {
  custom: {
    50: '#baca6b',
    500: '#98b421',
    950: '#000000',
  },
}
SCSS
$custom: #98b421;
$custom-light: #baca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#98b421",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 71.429,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72377,
    "c": 0.16355,
    "h": 120.6
  },
  "luminance": 0.39428
}

Semantic roles & 50–950 ramp

primary
#98B421
secondary
#7A67CA
accent
#3CEC5D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98B421

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

Preview Lab → · Contrast checker → · Palette generator →

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