#98B32A#98B32A

#98B32A is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.2% C 0.158 H 120.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#98B32A
RGBrgb(152, 179, 42)
HSLhsl(72, 62%, 43%)
HSVhsv(72, 77%, 70%)
CMYKcmyk(15.1%, 0%, 76.5%, 29.8%)
CIE-LABlab(68.81, -27.08, 61.83)
CIE-LCHlch(68.81, 67.51, 113.65°)
OKLaboklab(72.19% -0.0803 0.1362)
OKLCHoklch(72.19% 0.158 120.5)
XYZxyz(29.4875, 39.0828, 8.1803)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B32A #452AB3
analogous
#B3892A #98B32A #53B32A
triadic
#98B32A #2A98B3 #B32A98
tetradic
#98B32A #2AB389 #452AB3 #B32A53
square
#98B32A #2AB389 #452AB3 #B32A53
split-complementary
#98B32A #2A53B3 #892AB3
monochromatic
#445013 #6E811E #98B32A #B8D446 #CBDF78

Accessibility & contrast

On white

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

On black

8.82
#98B32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B32A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B32A#FFFFFF#000000##000000
##98B32A1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98b32a;
/* rgb */ color: rgb(152, 179, 42);
/* oklch */ color: oklch(72.2% 0.158 120.5);
Tailwind
colors: {
  custom: {
    50: '#bac96f',
    500: '#98b32a',
    950: '#000000',
  },
}
SCSS
$custom: #98b32a;
$custom-light: #bac96f;
$custom-dark: #000000;
JSON
{
  "hex": "#98b32a",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 42
  },
  "hsl": {
    "h": 71.825,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7219,
    "c": 0.15811,
    "h": 120.5
  },
  "luminance": 0.39083
}

Semantic roles & 50–950 ramp

primary
#98B32A
secondary
#8272C7
accent
#43E563
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B32A

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

Preview Lab → · Contrast checker → · Palette generator →

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