#98B72E#98B72E

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

Color values

HEX#98B72E
RGBrgb(152, 183, 46)
HSLhsl(74, 60%, 45%)
HSVhsv(74, 75%, 72%)
CMYKcmyk(16.9%, 0%, 74.9%, 28.2%)
CIE-LABlab(69.99, -28.81, 61.64)
CIE-LCHlch(69.99, 68.04, 115.05°)
OKLaboklab(73.15% -0.0848 0.1364)
OKLCHoklch(73.15% 0.161 121.8)
XYZxyz(30.3760, 40.7396, 8.8475)
Luminance0.4074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B72E #4D2EB7
analogous
#B7922E #98B72E #53B72E
triadic
#98B72E #2E98B7 #B72E98
tetradic
#98B72E #2EB792 #4D2EB7 #B72E53
square
#98B72E #2EB792 #4D2EB7 #B72E53
split-complementary
#98B72E #2E53B7 #922EB7
monochromatic
#475515 #6F8622 #98B72E #B5D34F #CADF80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98B72E#FFFFFF#000000##000000
##98B72E1.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)
#C2AC0F
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#A0AD9D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #98b72e;
/* rgb */ color: rgb(152, 183, 46);
/* oklch */ color: oklch(73.2% 0.161 121.8);
Tailwind
colors: {
  custom: {
    50: '#bacc71',
    500: '#98b72e',
    950: '#000000',
  },
}
SCSS
$custom: #98b72e;
$custom-light: #bacc71;
$custom-dark: #000000;
JSON
{
  "hex": "#98b72e",
  "rgb": {
    "r": 152,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 73.577,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7315,
    "c": 0.16062,
    "h": 121.8
  },
  "luminance": 0.4074
}

Semantic roles & 50–950 ramp

primary
#98B72E
secondary
#8B79C8
accent
#45E369
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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