#98BF51#98BF51

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

Color values

HEX#98BF51
RGBrgb(152, 191, 81)
HSLhsl(81, 46%, 53%)
HSVhsv(81, 58%, 75%)
CMYKcmyk(20.4%, 0%, 57.6%, 25.1%)
CIE-LABlab(72.58, -30.17, 50.28)
CIE-LCHlch(72.58, 58.63, 120.96°)
OKLaboklab(75.33% -0.0853 0.1173)
OKLCHoklch(75.33% 0.145 126)
XYZxyz(33.0649, 44.5307, 14.6363)
Luminance0.4453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF51 #7851BF
analogous
#BFAF51 #98BF51 #61BF51
triadic
#98BF51 #5198BF #BF5198
tetradic
#98BF51 #51BFAF #7851BF #BF5161
square
#98BF51 #51BFAF #7851BF #BF5161
split-complementary
#98BF51 #5161BF #AF51BF
monochromatic
#556D28 #789A39 #98BF51 #B2CF7E #CDE0AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98BF51#FFFFFF#000000##000000
##98BF511.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)
#C8B445
Deuteranopia (green-blind)
#C3B158
Tritanopia (blue-blind)
#9DB7A7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98bf51;
/* rgb */ color: rgb(152, 191, 81);
/* oklch */ color: oklch(75.3% 0.145 126.0);
Tailwind
colors: {
  custom: {
    50: '#b9d286',
    500: '#98bf51',
    950: '#000000',
  },
}
SCSS
$custom: #98bf51;
$custom-light: #b9d286;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf51",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 81.273,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75327,
    "c": 0.14507,
    "h": 126
  },
  "luminance": 0.44531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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