#98BF4A#98BF4A

#98BF4A is a light, vivid yellow-green. Relative luminance 0.444; OKLCH L 75.3% C 0.151 H 125.5°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#98BF4A
RGBrgb(152, 191, 74)
HSLhsl(80, 48%, 52%)
HSVhsv(80, 61%, 75%)
CMYKcmyk(20.4%, 0%, 61.3%, 25.1%)
CIE-LABlab(72.52, -30.77, 53.32)
CIE-LCHlch(72.52, 61.56, 119.99°)
OKLaboklab(75.25% -0.0876 0.123)
OKLCHoklch(75.25% 0.151 125.5)
XYZxyz(32.8158, 44.4310, 13.3244)
Luminance0.4443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF4A #714ABF
analogous
#BFAC4A #98BF4A #5EBF4A
triadic
#98BF4A #4A98BF #BF4A98
tetradic
#98BF4A #4ABFAC #714ABF #BF4A5E
square
#98BF4A #4ABFAC #714ABF #BF4A5E
split-complementary
#98BF4A #4A5EBF #AC4ABF
monochromatic
#536925 #769735 #98BF4A #B2CF77 #CBDFA4

Accessibility & contrast

On white

2.12
#98BF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#98BF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BF4A
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BF4A#FFFFFF#000000##000000
##98BF4A1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B33C
Deuteranopia (green-blind)
#C3B152
Tritanopia (blue-blind)
#9EB6A6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98bf4a;
/* rgb */ color: rgb(152, 191, 74);
/* oklch */ color: oklch(75.3% 0.151 125.5);
Tailwind
colors: {
  custom: {
    50: '#b9d281',
    500: '#98bf4a',
    950: '#000000',
  },
}
SCSS
$custom: #98bf4a;
$custom-light: #b9d281;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf4a",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 74
  },
  "hsl": {
    "h": 80,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75253,
    "c": 0.15103,
    "h": 125.5
  },
  "luminance": 0.44431
}

Semantic roles & 50–950 ramp

primary
#98BF4A
secondary
#AA99CC
accent
#50D77D
background
#FBFCF8
surface
#F6F9EF
border
#D0D2CA
text
#12140B
muted
#81827C

Preview Lab

Preview with #98BF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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