#98BF4F#98BF4F

#98BF4F is a light, vivid yellow-green. Relative luminance 0.445; OKLCH L 75.3% C 0.147 H 125.9°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#98BF4F
RGBrgb(152, 191, 79)
HSLhsl(81, 47%, 53%)
HSVhsv(81, 59%, 75%)
CMYKcmyk(20.4%, 0%, 58.6%, 25.1%)
CIE-LABlab(72.56, -30.34, 51.16)
CIE-LCHlch(72.56, 59.48, 120.67°)
OKLaboklab(75.31% -0.086 0.119)
OKLCHoklch(75.31% 0.147 125.9)
XYZxyz(32.9910, 44.5011, 14.2471)
Luminance0.4450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF4F #764FBF
analogous
#BFAE4F #98BF4F #60BF4F
triadic
#98BF4F #4F98BF #BF4F98
tetradic
#98BF4F #4FBFAE #764FBF #BF4F60
square
#98BF4F #4FBFAE #764FBF #BF4F60
split-complementary
#98BF4F #4F60BF #AE4FBF
monochromatic
#546C27 #779938 #98BF4F #B2CF7C #CDE0A9

Accessibility & contrast

On white

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

On black

9.90
#98BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BF4F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BF4F#FFFFFF#000000##000000
##98BF4F1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B343
Deuteranopia (green-blind)
#C3B157
Tritanopia (blue-blind)
#9EB7A7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98bf4f;
/* rgb */ color: rgb(152, 191, 79);
/* oklch */ color: oklch(75.3% 0.147 125.9);
Tailwind
colors: {
  custom: {
    50: '#b9d284',
    500: '#98bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #98bf4f;
$custom-light: #b9d284;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf4f",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 80.893,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75305,
    "c": 0.14681,
    "h": 125.9
  },
  "luminance": 0.44502
}

Semantic roles & 50–950 ramp

primary
#98BF4F
secondary
#AE9DCD
accent
#51D680
background
#FBFCF8
surface
#F6F9EF
border
#D0D2CA
text
#12140B
muted
#81827C

Preview Lab

Preview with #98BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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