#98BF5F#98BF5F

#98BF5F is a light, vivid yellow-green. Relative luminance 0.448; OKLCH L 75.5% C 0.132 H 127.5°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#98BF5F
RGBrgb(152, 191, 95)
HSLhsl(84, 43%, 56%)
HSVhsv(84, 50%, 75%)
CMYKcmyk(20.4%, 0%, 50.3%, 25.1%)
CIE-LABlab(72.74, -28.78, 43.86)
CIE-LCHlch(72.74, 52.46, 123.28°)
OKLaboklab(75.5% -0.0803 0.1046)
OKLCHoklch(75.5% 0.132 127.5)
XYZxyz(33.6451, 44.7627, 17.6918)
Luminance0.4476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF5F #865FBF
analogous
#BFB65F #98BF5F #68BF5F
triadic
#98BF5F #5F98BF #BF5F98
tetradic
#98BF5F #5FBFB6 #865FBF #BF5F68
square
#98BF5F #5FBFB6 #865FBF #BF5F68
split-complementary
#98BF5F #5F68BF #B65FBF
monochromatic
#58752F #79A140 #98BF5F #B4D08B #D0E2B6

Accessibility & contrast

On white

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

On black

9.95
#98BF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BF5F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BF5F#FFFFFF#000000##000000
##98BF5F1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B456
Deuteranopia (green-blind)
#C2B265
Tritanopia (blue-blind)
#9CB8A9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98bf5f;
/* rgb */ color: rgb(152, 191, 95);
/* oklch */ color: oklch(75.5% 0.132 127.5);
Tailwind
colors: {
  custom: {
    50: '#b8d28f',
    500: '#98bf5f',
    950: '#000000',
  },
}
SCSS
$custom: #98bf5f;
$custom-light: #b8d28f;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf5f",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 95
  },
  "hsl": {
    "h": 84.375,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.75501,
    "c": 0.1319,
    "h": 127.5
  },
  "luminance": 0.44763
}

Semantic roles & 50–950 ramp

primary
#98BF5F
secondary
#B9A9D1
accent
#55D388
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#12140C
muted
#81827D

Preview Lab

Preview with #98BF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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