#98B52F#98B52F

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

Color values

HEX#98B52F
RGBrgb(152, 181, 47)
HSLhsl(73, 59%, 45%)
HSVhsv(73, 74%, 71%)
CMYKcmyk(16%, 0%, 74%, 29%)
CIE-LABlab(69.42, -27.80, 60.75)
CIE-LCHlch(69.42, 66.81, 114.59°)
OKLaboklab(72.69% -0.0819 0.1347)
OKLCHoklch(72.69% 0.158 121.3)
XYZxyz(29.9863, 39.9284, 8.8160)
Luminance0.3993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B52F #4C2FB5
analogous
#B58F2F #98B52F #55B52F
triadic
#98B52F #2F98B5 #B52F98
tetradic
#98B52F #2FB58F #4C2FB5 #B52F55
square
#98B52F #2FB58F #4C2FB5 #B52F55
split-complementary
#98B52F #2F55B5 #8F2FB5
monochromatic
#465416 #6F8422 #98B52F #B5D150 #CADE80

Accessibility & contrast

On white

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

On black

8.99
#98B52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B52F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B52F#FFFFFF#000000##000000
##98B52F1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA13
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#A0AB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98b52f;
/* rgb */ color: rgb(152, 181, 47);
/* oklch */ color: oklch(72.7% 0.158 121.3);
Tailwind
colors: {
  custom: {
    50: '#bacb71',
    500: '#98b52f',
    950: '#000000',
  },
}
SCSS
$custom: #98b52f;
$custom-light: #bacb71;
$custom-dark: #000000;
JSON
{
  "hex": "#98b52f",
  "rgb": {
    "r": 152,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 72.985,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72688,
    "c": 0.15766,
    "h": 121.3
  },
  "luminance": 0.39928
}

Semantic roles & 50–950 ramp

primary
#98B52F
secondary
#8A79C7
accent
#46E268
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B52F

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

Preview Lab → · Contrast checker → · Palette generator →

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