#98BF5C#98BF5C

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

Color values

HEX#98BF5C
RGBrgb(152, 191, 92)
HSLhsl(84, 44%, 55%)
HSVhsv(84, 52%, 75%)
CMYKcmyk(20.4%, 0%, 51.8%, 25.1%)
CIE-LABlab(72.70, -29.10, 45.26)
CIE-LCHlch(72.70, 53.81, 122.74°)
OKLaboklab(75.46% -0.0814 0.1075)
OKLCHoklch(75.46% 0.135 127.2)
XYZxyz(33.5113, 44.7092, 16.9874)
Luminance0.4471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF5C #835CBF
analogous
#BFB45C #98BF5C #67BF5C
triadic
#98BF5C #5C98BF #BF5C98
tetradic
#98BF5C #5CBFB4 #835CBF #BF5C67
square
#98BF5C #5CBFB4 #835CBF #BF5C67
split-complementary
#98BF5C #5C67BF #B45CBF
monochromatic
#58732D #799F3F #98BF5C #B4D088 #D0E2B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98BF5C#FFFFFF#000000##000000
##98BF5C1.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)
#C7B453
Deuteranopia (green-blind)
#C2B262
Tritanopia (blue-blind)
#9DB7A9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98bf5c;
/* rgb */ color: rgb(152, 191, 92);
/* oklch */ color: oklch(75.5% 0.135 127.2);
Tailwind
colors: {
  custom: {
    50: '#b8d28d',
    500: '#98bf5c',
    950: '#000000',
  },
}
SCSS
$custom: #98bf5c;
$custom-light: #b8d28d;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf5c",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 92
  },
  "hsl": {
    "h": 83.636,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.75461,
    "c": 0.13484,
    "h": 127.2
  },
  "luminance": 0.4471
}

Semantic roles & 50–950 ramp

primary
#98BF5C
secondary
#B7A7D0
accent
#54D386
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#12140C
muted
#81827D

Preview Lab

Preview with #98BF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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