#98B52A#98B52A

#98B52A is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.7% C 0.160 H 121.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#98B52A
RGBrgb(152, 181, 42)
HSLhsl(73, 62%, 44%)
HSVhsv(73, 77%, 71%)
CMYKcmyk(16%, 0%, 76.8%, 29%)
CIE-LABlab(69.39, -28.05, 62.37)
CIE-LCHlch(69.39, 68.39, 114.21°)
OKLaboklab(72.66% -0.083 0.1373)
OKLCHoklch(72.66% 0.16 121.1)
XYZxyz(29.8912, 39.8903, 8.3149)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B52A #472AB5
analogous
#B58C2A #98B52A #52B52A
triadic
#98B52A #2A98B5 #B52A98
tetradic
#98B52A #2AB58C #472AB5 #B52A52
square
#98B52A #2AB58C #472AB5 #B52A52
split-complementary
#98B52A #2A52B5 #8C2AB5
monochromatic
#455213 #6E831E #98B52A #B7D448 #CBE079

Accessibility & contrast

On white

2.34
#98B52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#98B52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B52A
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B52A#FFFFFF#000000##000000
##98B52A1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA03
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#A1AB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98b52a;
/* rgb */ color: rgb(152, 181, 42);
/* oklch */ color: oklch(72.7% 0.160 121.1);
Tailwind
colors: {
  custom: {
    50: '#bacb6f',
    500: '#98b52a',
    950: '#000000',
  },
}
SCSS
$custom: #98b52a;
$custom-light: #bacb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#98b52a",
  "rgb": {
    "r": 152,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 72.518,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72658,
    "c": 0.16044,
    "h": 121.1
  },
  "luminance": 0.3989
}

Semantic roles & 50–950 ramp

primary
#98B52A
secondary
#8573C8
accent
#42E564
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B52A

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

Preview Lab → · Contrast checker → · Palette generator →

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