#98B322#98B322

#98B322 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 72.1% C 0.162 H 120.3°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#98B322
RGBrgb(152, 179, 34)
HSLhsl(71, 68%, 42%)
HSVhsv(71, 81%, 70%)
CMYKcmyk(15.1%, 0%, 81%, 29.8%)
CIE-LABlab(68.77, -27.42, 64.18)
CIE-LCHlch(68.77, 69.79, 113.13°)
OKLaboklab(72.15% -0.0818 0.1398)
OKLCHoklch(72.15% 0.162 120.3)
XYZxyz(29.3583, 39.0312, 7.5002)
Luminance0.3903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B322 #3D22B3
analogous
#B38522 #98B322 #50B322
triadic
#98B322 #2298B3 #B32298
tetradic
#98B322 #22B385 #3D22B3 #B32250
square
#98B322 #22B385 #3D22B3 #B32250
split-complementary
#98B322 #2250B3 #8522B3
monochromatic
#414C0E #6C8018 #98B322 #BBD939 #CDE36C

Accessibility & contrast

On white

2.38
#98B322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#98B322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B322
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B322#FFFFFF#000000##000000
##98B3221.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BBA831
Tritanopia (blue-blind)
#A1A999
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b322;
/* rgb */ color: rgb(152, 179, 34);
/* oklch */ color: oklch(72.1% 0.162 120.3);
Tailwind
colors: {
  custom: {
    50: '#bac96b',
    500: '#98b322',
    950: '#000000',
  },
}
SCSS
$custom: #98b322;
$custom-light: #bac96b;
$custom-dark: #000000;
JSON
{
  "hex": "#98b322",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 34
  },
  "hsl": {
    "h": 71.172,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72148,
    "c": 0.16199,
    "h": 120.3
  },
  "luminance": 0.39031
}

Semantic roles & 50–950 ramp

primary
#98B322
secondary
#7A68C9
accent
#3DEB5D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98B322

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

Preview Lab → · Contrast checker → · Palette generator →

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