#98BA40#98BA40

#98BA40 is a light, vivid yellow-green. Relative luminance 0.422; OKLCH L 74.0% C 0.152 H 123.5°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#98BA40
RGBrgb(152, 186, 64)
HSLhsl(77, 49%, 49%)
HSVhsv(77, 66%, 73%)
CMYKcmyk(18.3%, 0%, 65.6%, 27.1%)
CIE-LABlab(70.98, -29.16, 55.90)
CIE-LCHlch(70.98, 63.04, 117.55°)
OKLaboklab(73.99% -0.0841 0.1272)
OKLCHoklch(73.99% 0.152 123.5)
XYZxyz(31.4335, 42.1632, 11.3318)
Luminance0.4216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA40 #6240BA
analogous
#BA9F40 #98BA40 #5BBA40
triadic
#98BA40 #4098BA #BA4098
tetradic
#98BA40 #40BA9F #6240BA #BA405B
square
#98BA40 #40BA9F #6240BA #BA405B
split-complementary
#98BA40 #405BBA #9F40BA
monochromatic
#4E5F21 #738C30 #98BA40 #B1CC6B #C9DC99

Accessibility & contrast

On white

2.23
#98BA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#98BA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA40
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA40#FFFFFF#000000##000000
##98BA401.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF30
Deuteranopia (green-blind)
#C0AE49
Tritanopia (blue-blind)
#9FB1A1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98ba40;
/* rgb */ color: rgb(152, 186, 64);
/* oklch */ color: oklch(74.0% 0.152 123.5);
Tailwind
colors: {
  custom: {
    50: '#b9ce7b',
    500: '#98ba40',
    950: '#000000',
  },
}
SCSS
$custom: #98ba40;
$custom-light: #b9ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba40",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 76.721,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73988,
    "c": 0.15245,
    "h": 123.5
  },
  "luminance": 0.42163
}

Semantic roles & 50–950 ramp

primary
#98BA40
secondary
#9E8EC8
accent
#4FD876
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #98BA40

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

Preview Lab → · Contrast checker → · Palette generator →

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