#98BF40#98BF40

#98BF40 is a light, vivid yellow-green. Relative luminance 0.443; OKLCH L 75.2% C 0.159 H 124.8°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#98BF40
RGBrgb(152, 191, 64)
HSLhsl(78, 50%, 50%)
HSVhsv(78, 66%, 75%)
CMYKcmyk(20.4%, 0%, 66.5%, 25.1%)
CIE-LABlab(72.43, -31.52, 57.42)
CIE-LCHlch(72.43, 65.50, 118.77°)
OKLaboklab(75.16% -0.0906 0.1304)
OKLCHoklch(75.16% 0.159 124.8)
XYZxyz(32.5053, 44.3068, 11.6891)
Luminance0.4431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF40 #6740BF
analogous
#BFA640 #98BF40 #59BF40
triadic
#98BF40 #4098BF #BF4098
tetradic
#98BF40 #40BFA6 #6740BF #BF4059
square
#98BF40 #40BFA6 #6740BF #BF4059
split-complementary
#98BF40 #4059BF #A640BF
monochromatic
#4F6321 #749131 #98BF40 #B1CE6E #C9DE9C

Accessibility & contrast

On white

2.13
#98BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#98BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BF40
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BF40#FFFFFF#000000##000000
##98BF401.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32E
Deuteranopia (green-blind)
#C4B14A
Tritanopia (blue-blind)
#9FB6A5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98bf40;
/* rgb */ color: rgb(152, 191, 64);
/* oklch */ color: oklch(75.2% 0.159 124.8);
Tailwind
colors: {
  custom: {
    50: '#b9d27b',
    500: '#98bf40',
    950: '#000000',
  },
}
SCSS
$custom: #98bf40;
$custom-light: #b9d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf40",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 78.425,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.75159,
    "c": 0.15877,
    "h": 124.8
  },
  "luminance": 0.44307
}

Semantic roles & 50–950 ramp

primary
#98BF40
secondary
#A291CA
accent
#4ED979
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #98BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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