#98BF3A#98BF3A

#98BF3A is a light, vivid yellow-green. Relative luminance 0.442; OKLCH L 75.1% C 0.163 H 124.5°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#98BF3A
RGBrgb(152, 191, 58)
HSLhsl(78, 53%, 49%)
HSVhsv(78, 70%, 75%)
CMYKcmyk(20.4%, 0%, 69.6%, 25.1%)
CIE-LABlab(72.39, -31.92, 59.71)
CIE-LCHlch(72.39, 67.70, 118.13°)
OKLaboklab(75.11% -0.0923 0.1343)
OKLCHoklch(75.11% 0.163 124.5)
XYZxyz(32.3437, 44.2422, 10.8378)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF3A #613ABF
analogous
#BFA43A #98BF3A #56BF3A
triadic
#98BF3A #3A98BF #BF3A98
tetradic
#98BF3A #3ABFA4 #613ABF #BF3A56
square
#98BF3A #3ABFA4 #613ABF #BF3A56
split-complementary
#98BF3A #3A56BF #A43ABF
monochromatic
#4D611D #73902C #98BF3A #B1D066 #C9DF95

Accessibility & contrast

On white

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

On black

9.85
#98BF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BF3A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BF3A#FFFFFF#000000##000000
##98BF3A1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98bf3a;
/* rgb */ color: rgb(152, 191, 58);
/* oklch */ color: oklch(75.1% 0.163 124.5);
Tailwind
colors: {
  custom: {
    50: '#bad278',
    500: '#98bf3a',
    950: '#000000',
  },
}
SCSS
$custom: #98bf3a;
$custom-light: #bad278;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf3a",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 58
  },
  "hsl": {
    "h": 77.594,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75111,
    "c": 0.16293,
    "h": 124.5
  },
  "luminance": 0.44242
}

Semantic roles & 50–950 ramp

primary
#98BF3A
secondary
#9D8BCA
accent
#4BDD76
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#121409
muted
#81827B

Preview Lab

Preview with #98BF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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