#98BF59#98BF59

#98BF59 is a light, vivid yellow-green. Relative luminance 0.447; OKLCH L 75.4% C 0.138 H 126.8°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#98BF59
RGBrgb(152, 191, 89)
HSLhsl(83, 44%, 55%)
HSVhsv(83, 53%, 75%)
CMYKcmyk(20.4%, 0%, 53.4%, 25.1%)
CIE-LABlab(72.67, -29.41, 46.65)
CIE-LCHlch(72.67, 55.15, 122.22°)
OKLaboklab(75.42% -0.0825 0.1103)
OKLCHoklch(75.42% 0.138 126.8)
XYZxyz(33.3828, 44.6578, 16.3103)
Luminance0.4466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF59 #8059BF
analogous
#BFB359 #98BF59 #65BF59
triadic
#98BF59 #5998BF #BF5998
tetradic
#98BF59 #59BFB3 #8059BF #BF5965
square
#98BF59 #59BFB3 #8059BF #BF5965
split-complementary
#98BF59 #5965BF #B359BF
monochromatic
#57722C #799E3D #98BF59 #B3D085 #CFE1B1

Accessibility & contrast

On white

2.11
#98BF59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#98BF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BF59
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BF59#FFFFFF#000000##000000
##98BF591.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44F
Deuteranopia (green-blind)
#C2B25F
Tritanopia (blue-blind)
#9DB7A8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98bf59;
/* rgb */ color: rgb(152, 191, 89);
/* oklch */ color: oklch(75.4% 0.138 126.8);
Tailwind
colors: {
  custom: {
    50: '#b8d28b',
    500: '#98bf59',
    950: '#000000',
  },
}
SCSS
$custom: #98bf59;
$custom-light: #b8d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf59",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 89
  },
  "hsl": {
    "h": 82.941,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.75422,
    "c": 0.13772,
    "h": 126.8
  },
  "luminance": 0.44658
}

Semantic roles & 50–950 ramp

primary
#98BF59
secondary
#B5A4CF
accent
#54D485
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#12140C
muted
#81827D

Preview Lab

Preview with #98BF59

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

Preview Lab → · Contrast checker → · Palette generator →

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