#98BA39#98BA39

#98BA39 is a light, vivid yellow-green. Relative luminance 0.421; OKLCH L 73.9% C 0.157 H 123.1°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#98BA39
RGBrgb(152, 186, 57)
HSLhsl(76, 53%, 48%)
HSVhsv(76, 69%, 73%)
CMYKcmyk(18.3%, 0%, 69.4%, 27.1%)
CIE-LABlab(70.93, -29.62, 58.61)
CIE-LCHlch(70.93, 65.67, 116.81°)
OKLaboklab(73.93% -0.086 0.1318)
OKLCHoklch(73.93% 0.157 123.1)
XYZxyz(31.2467, 42.0885, 10.3478)
Luminance0.4209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA39 #5B39BA
analogous
#BA9B39 #98BA39 #58BA39
triadic
#98BA39 #3998BA #BA3998
tetradic
#98BA39 #39BA9B #5B39BA #BA3958
square
#98BA39 #39BA9B #5B39BA #BA3958
split-complementary
#98BA39 #3958BA #9B39BA
monochromatic
#4B5C1C #728B2B #98BA39 #B2CF61 #C9DD90

Accessibility & contrast

On white

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

On black

9.42
#98BA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA39
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA39#FFFFFF#000000##000000
##98BA391.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF25
Deuteranopia (green-blind)
#C0AD44
Tritanopia (blue-blind)
#A0B1A0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98ba39;
/* rgb */ color: rgb(152, 186, 57);
/* oklch */ color: oklch(73.9% 0.157 123.1);
Tailwind
colors: {
  custom: {
    50: '#bace77',
    500: '#98ba39',
    950: '#000000',
  },
}
SCSS
$custom: #98ba39;
$custom-light: #bace77;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba39",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 75.814,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7393,
    "c": 0.15743,
    "h": 123.1
  },
  "luminance": 0.42089
}

Semantic roles & 50–950 ramp

primary
#98BA39
secondary
#9887C8
accent
#4BDC72
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98BA39

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

Preview Lab → · Contrast checker → · Palette generator →

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