#98B72D#98B72D

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

Color values

HEX#98B72D
RGBrgb(152, 183, 45)
HSLhsl(73, 61%, 45%)
HSVhsv(73, 75%, 72%)
CMYKcmyk(16.9%, 0%, 75.4%, 28.2%)
CIE-LABlab(69.99, -28.86, 61.96)
CIE-LCHlch(69.99, 68.36, 114.97°)
OKLaboklab(73.14% -0.085 0.137)
OKLCHoklch(73.14% 0.161 121.8)
XYZxyz(30.3565, 40.7318, 8.7449)
Luminance0.4073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B72D #4C2DB7
analogous
#B7912D #98B72D #53B72D
triadic
#98B72D #2D98B7 #B72D98
tetradic
#98B72D #2DB791 #4C2DB7 #B72D53
square
#98B72D #2DB791 #4C2DB7 #B72D53
split-complementary
#98B72D #2D53B7 #912DB7
monochromatic
#465515 #6F8621 #98B72D #B5D34E #CADF7F

Accessibility & contrast

On white

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

On black

9.15
#98B72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B72D
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B72D#FFFFFF#000000##000000
##98B72D1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98b72d;
/* rgb */ color: rgb(152, 183, 45);
/* oklch */ color: oklch(73.1% 0.161 121.8);
Tailwind
colors: {
  custom: {
    50: '#bacc71',
    500: '#98b72d',
    950: '#000000',
  },
}
SCSS
$custom: #98b72d;
$custom-light: #bacc71;
$custom-dark: #000000;
JSON
{
  "hex": "#98b72d",
  "rgb": {
    "r": 152,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 73.478,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73144,
    "c": 0.16118,
    "h": 121.8
  },
  "luminance": 0.40732
}

Semantic roles & 50–950 ramp

primary
#98B72D
secondary
#8A78C8
accent
#44E468
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B72D

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

Preview Lab → · Contrast checker → · Palette generator →

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