#98B72F#98B72F

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

Color values

HEX#98B72F
RGBrgb(152, 183, 47)
HSLhsl(74, 59%, 45%)
HSVhsv(74, 74%, 72%)
CMYKcmyk(16.9%, 0%, 74.3%, 28.2%)
CIE-LABlab(70.00, -28.76, 61.31)
CIE-LCHlch(70.00, 67.72, 115.13°)
OKLaboklab(73.16% -0.0845 0.1359)
OKLCHoklch(73.16% 0.16 121.9)
XYZxyz(30.3959, 40.7476, 8.9525)
Luminance0.4075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B72F #4E2FB7
analogous
#B7922F #98B72F #54B72F
triadic
#98B72F #2F98B7 #B72F98
tetradic
#98B72F #2FB792 #4E2FB7 #B72F54
square
#98B72F #2FB792 #4E2FB7 #B72F54
split-complementary
#98B72F #2F54B7 #922FB7
monochromatic
#475616 #708622 #98B72F #B5D251 #CADF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #98b72f;
/* rgb */ color: rgb(152, 183, 47);
/* oklch */ color: oklch(73.2% 0.160 121.9);
Tailwind
colors: {
  custom: {
    50: '#bacc72',
    500: '#98b72f',
    950: '#000000',
  },
}
SCSS
$custom: #98b72f;
$custom-light: #bacc72;
$custom-dark: #000000;
JSON
{
  "hex": "#98b72f",
  "rgb": {
    "r": 152,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 73.676,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73157,
    "c": 0.16004,
    "h": 121.9
  },
  "luminance": 0.40748
}

Semantic roles & 50–950 ramp

primary
#98B72F
secondary
#8C7AC8
accent
#45E269
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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