#98BF31#98BF31

#98BF31 is a light, vivid yellow-green. Relative luminance 0.442; OKLCH L 75.0% C 0.168 H 124.1°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#98BF31
RGBrgb(152, 191, 49)
HSLhsl(76, 59%, 47%)
HSVhsv(76, 74%, 75%)
CMYKcmyk(20.4%, 0%, 74.3%, 25.1%)
CIE-LABlab(72.33, -32.43, 62.87)
CIE-LCHlch(72.33, 70.74, 117.29°)
OKLaboklab(75.05% -0.0944 0.1395)
OKLCHoklch(75.05% 0.168 124.1)
XYZxyz(32.1344, 44.1585, 9.7356)
Luminance0.4416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF31 #5831BF
analogous
#BF9F31 #98BF31 #51BF31
triadic
#98BF31 #3198BF #BF3198
tetradic
#98BF31 #31BF9F #5831BF #BF3151
square
#98BF31 #31BF9F #5831BF #BF3151
split-complementary
#98BF31 #3151BF #9F31BF
monochromatic
#4A5E18 #718E25 #98BF31 #B2D459 #C9E18A

Accessibility & contrast

On white

2.14
#98BF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#98BF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BF31
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BF31#FFFFFF#000000##000000
##98BF311.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB312
Deuteranopia (green-blind)
#C5B13E
Tritanopia (blue-blind)
#9FB5A4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #98bf31;
/* rgb */ color: rgb(152, 191, 49);
/* oklch */ color: oklch(75.0% 0.168 124.1);
Tailwind
colors: {
  custom: {
    50: '#bad274',
    500: '#98bf31',
    950: '#000000',
  },
}
SCSS
$custom: #98bf31;
$custom-light: #bad274;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf31",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 76.479,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75048,
    "c": 0.16847,
    "h": 124.1
  },
  "luminance": 0.44159
}

Semantic roles & 50–950 ramp

primary
#98BF31
secondary
#9581CB
accent
#45E271
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121409
muted
#81827B

Preview Lab

Preview with #98BF31

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

Preview Lab → · Contrast checker → · Palette generator →

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