#98BC31#98BC31

#98BC31 is a light, vivid yellow-green. Relative luminance 0.429; OKLCH L 74.3% C 0.165 H 123.3°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#98BC31
RGBrgb(152, 188, 49)
HSLhsl(76, 59%, 46%)
HSVhsv(76, 74%, 74%)
CMYKcmyk(19.1%, 0%, 73.9%, 26.3%)
CIE-LABlab(71.46, -31.03, 62.03)
CIE-LCHlch(71.46, 69.36, 116.57°)
OKLaboklab(74.34% -0.0906 0.1378)
OKLCHoklch(74.34% 0.165 123.3)
XYZxyz(31.4869, 42.8634, 9.5198)
Luminance0.4286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BC31 #5531BC
analogous
#BC9B31 #98BC31 #52BC31
triadic
#98BC31 #3198BC #BC3198
tetradic
#98BC31 #31BC9B #5531BC #BC3152
square
#98BC31 #31BC9B #5531BC #BC3152
split-complementary
#98BC31 #3152BC #9B31BC
monochromatic
#495B18 #718B24 #98BC31 #B3D357 #C9E088

Accessibility & contrast

On white

2.19
#98BC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#98BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BC31
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BC31#FFFFFF#000000##000000
##98BC311.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B014
Deuteranopia (green-blind)
#C2AF3E
Tritanopia (blue-blind)
#A0B3A1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #98bc31;
/* rgb */ color: rgb(152, 188, 49);
/* oklch */ color: oklch(74.3% 0.165 123.3);
Tailwind
colors: {
  custom: {
    50: '#bad073',
    500: '#98bc31',
    950: '#000000',
  },
}
SCSS
$custom: #98bc31;
$custom-light: #bad073;
$custom-dark: #000000;
JSON
{
  "hex": "#98bc31",
  "rgb": {
    "r": 152,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 75.54,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74343,
    "c": 0.16486,
    "h": 123.3
  },
  "luminance": 0.42864
}

Semantic roles & 50–950 ramp

primary
#98BC31
secondary
#927FCA
accent
#46E26E
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121409
muted
#81827B

Preview Lab

Preview with #98BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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