#98BE31#98BE31

#98BE31 is a light, vivid yellow-green. Relative luminance 0.437; OKLCH L 74.8% C 0.167 H 123.8°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#98BE31
RGBrgb(152, 190, 49)
HSLhsl(76, 59%, 47%)
HSVhsv(76, 74%, 75%)
CMYKcmyk(20%, 0%, 74.2%, 25.5%)
CIE-LABlab(72.04, -31.96, 62.59)
CIE-LCHlch(72.04, 70.28, 117.05°)
OKLaboklab(74.81% -0.0931 0.1389)
OKLCHoklch(74.81% 0.167 123.8)
XYZxyz(31.9171, 43.7238, 9.6632)
Luminance0.4372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BE31 #5731BE
analogous
#BE9E31 #98BE31 #52BE31
triadic
#98BE31 #3198BE #BE3198
tetradic
#98BE31 #31BE9E #5731BE #BE3152
square
#98BE31 #31BE9E #5731BE #BE3152
split-complementary
#98BE31 #3152BE #9E31BE
monochromatic
#4A5D18 #718D24 #98BE31 #B3D458 #C9E189

Accessibility & contrast

On white

2.15
#98BE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#98BE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BE31
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BE31#FFFFFF#000000##000000
##98BE311.002.159.749.74
#FFFFFF2.151.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B213
Deuteranopia (green-blind)
#C4B03E
Tritanopia (blue-blind)
#A0B4A3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #98be31;
/* rgb */ color: rgb(152, 190, 49);
/* oklch */ color: oklch(74.8% 0.167 123.8);
Tailwind
colors: {
  custom: {
    50: '#bad173',
    500: '#98be31',
    950: '#000000',
  },
}
SCSS
$custom: #98be31;
$custom-light: #bad173;
$custom-dark: #000000;
JSON
{
  "hex": "#98be31",
  "rgb": {
    "r": 152,
    "g": 190,
    "b": 49
  },
  "hsl": {
    "h": 76.17,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74813,
    "c": 0.16727,
    "h": 123.8
  },
  "luminance": 0.43724
}

Semantic roles & 50–950 ramp

primary
#98BE31
secondary
#9480CA
accent
#46E270
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121409
muted
#81827B

Preview Lab

Preview with #98BE31

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

Preview Lab → · Contrast checker → · Palette generator →

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