#98B72A#98B72A

#98B72A is a light, vivid yellow-green. Relative luminance 0.407; OKLCH L 73.1% C 0.163 H 121.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#98B72A
RGBrgb(152, 183, 42)
HSLhsl(73, 63%, 44%)
HSVhsv(73, 77%, 72%)
CMYKcmyk(16.9%, 0%, 77%, 28.2%)
CIE-LABlab(69.97, -29.00, 62.91)
CIE-LCHlch(69.97, 69.28, 114.75°)
OKLaboklab(73.13% -0.0856 0.1385)
OKLCHoklch(73.13% 0.163 121.7)
XYZxyz(30.3008, 40.7095, 8.4515)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B72A #492AB7
analogous
#B7902A #98B72A #52B72A
triadic
#98B72A #2A98B7 #B72A98
tetradic
#98B72A #2AB790 #492AB7 #B72A52
square
#98B72A #2AB790 #492AB7 #B72A52
split-complementary
#98B72A #2A52B7 #902AB7
monochromatic
#455313 #6F851F #98B72A #B6D549 #CAE17B

Accessibility & contrast

On white

2.30
#98B72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#98B72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B72A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B72A#FFFFFF#000000##000000
##98B72A1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC01
Deuteranopia (green-blind)
#BEAB38
Tritanopia (blue-blind)
#A0AD9D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #98b72a;
/* rgb */ color: rgb(152, 183, 42);
/* oklch */ color: oklch(73.1% 0.163 121.7);
Tailwind
colors: {
  custom: {
    50: '#bacc6f',
    500: '#98b72a',
    950: '#000000',
  },
}
SCSS
$custom: #98b72a;
$custom-light: #bacc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#98b72a",
  "rgb": {
    "r": 152,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 73.191,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73127,
    "c": 0.16278,
    "h": 121.7
  },
  "luminance": 0.4071
}

Semantic roles & 50–950 ramp

primary
#98B72A
secondary
#8774C9
accent
#42E666
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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