#98BF52#98BF52

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

Color values

HEX#98BF52
RGBrgb(152, 191, 82)
HSLhsl(81, 46%, 54%)
HSVhsv(81, 57%, 75%)
CMYKcmyk(20.4%, 0%, 57.1%, 25.1%)
CIE-LABlab(72.59, -30.08, 49.83)
CIE-LCHlch(72.59, 58.20, 121.11°)
OKLaboklab(75.34% -0.085 0.1165)
OKLCHoklch(75.34% 0.144 126.1)
XYZxyz(33.1027, 44.5458, 14.8352)
Luminance0.4455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF52 #7952BF
analogous
#BFAF52 #98BF52 #61BF52
triadic
#98BF52 #5298BF #BF5298
tetradic
#98BF52 #52BFAF #7952BF #BF5261
square
#98BF52 #52BFAF #7952BF #BF5261
split-complementary
#98BF52 #5261BF #AF52BF
monochromatic
#556E29 #789B39 #98BF52 #B3D07F #CDE0AB

Accessibility & contrast

On white

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

On black

9.91
#98BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BF52
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BF52#FFFFFF#000000##000000
##98BF521.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B447
Deuteranopia (green-blind)
#C3B159
Tritanopia (blue-blind)
#9DB7A7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98bf52;
/* rgb */ color: rgb(152, 191, 82);
/* oklch */ color: oklch(75.3% 0.144 126.1);
Tailwind
colors: {
  custom: {
    50: '#b9d286',
    500: '#98bf52',
    950: '#000000',
  },
}
SCSS
$custom: #98bf52;
$custom-light: #b9d286;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf52",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 81.468,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75339,
    "c": 0.14418,
    "h": 126.1
  },
  "luminance": 0.44546
}

Semantic roles & 50–950 ramp

primary
#98BF52
secondary
#B09FCE
accent
#52D681
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#12140B
muted
#81827C

Preview Lab

Preview with #98BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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