#98BF5B#98BF5B

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

Color values

HEX#98BF5B
RGBrgb(152, 191, 91)
HSLhsl(83, 44%, 55%)
HSVhsv(83, 52%, 75%)
CMYKcmyk(20.4%, 0%, 52.4%, 25.1%)
CIE-LABlab(72.69, -29.20, 45.73)
CIE-LCHlch(72.69, 54.26, 122.56°)
OKLaboklab(75.45% -0.0818 0.1084)
OKLCHoklch(75.45% 0.136 127)
XYZxyz(33.4679, 44.6919, 16.7587)
Luminance0.4469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF5B #825BBF
analogous
#BFB45B #98BF5B #66BF5B
triadic
#98BF5B #5B98BF #BF5B98
tetradic
#98BF5B #5BBFB4 #825BBF #BF5B66
square
#98BF5B #5BBFB4 #825BBF #BF5B66
split-complementary
#98BF5B #5B66BF #B45BBF
monochromatic
#57732D #799F3E #98BF5B #B4D087 #CFE1B3

Accessibility & contrast

On white

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

On black

9.94
#98BF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BF5B
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BF5B#FFFFFF#000000##000000
##98BF5B1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98bf5b;
/* rgb */ color: rgb(152, 191, 91);
/* oklch */ color: oklch(75.4% 0.136 127.0);
Tailwind
colors: {
  custom: {
    50: '#b8d28c',
    500: '#98bf5b',
    950: '#000000',
  },
}
SCSS
$custom: #98bf5b;
$custom-light: #b8d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf5b",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 91
  },
  "hsl": {
    "h": 83.4,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.75448,
    "c": 0.13581,
    "h": 127
  },
  "luminance": 0.44692
}

Semantic roles & 50–950 ramp

primary
#98BF5B
secondary
#B6A6D0
accent
#54D486
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#12140C
muted
#81827D

Preview Lab

Preview with #98BF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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