#98BB3A#98BB3A

#98BB3A is a light, vivid yellow-green. Relative luminance 0.425; OKLCH L 74.2% C 0.158 H 123.4°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#98BB3A
RGBrgb(152, 187, 58)
HSLhsl(76, 53%, 48%)
HSVhsv(76, 69%, 73%)
CMYKcmyk(18.7%, 0%, 69%, 26.7%)
CIE-LABlab(71.23, -30.03, 58.53)
CIE-LCHlch(71.23, 65.79, 117.16°)
OKLaboklab(74.17% -0.0871 0.1318)
OKLCHoklch(74.17% 0.158 123.4)
XYZxyz(31.4833, 42.5213, 10.5510)
Luminance0.4252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BB3A #5D3ABB
analogous
#BB9D3A #98BB3A #57BB3A
triadic
#98BB3A #3A98BB #BB3A98
tetradic
#98BB3A #3ABB9D #5D3ABB #BB3A57
square
#98BB3A #3ABB9D #5D3ABB #BB3A57
split-complementary
#98BB3A #3A57BB #9D3ABB
monochromatic
#4C5E1D #728C2C #98BB3A #B2CF63 #C9DD92

Accessibility & contrast

On white

2.21
#98BB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#98BB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BB3A
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BB3A#FFFFFF#000000##000000
##98BB3A1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF26
Deuteranopia (green-blind)
#C1AE44
Tritanopia (blue-blind)
#9FB2A1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98bb3a;
/* rgb */ color: rgb(152, 187, 58);
/* oklch */ color: oklch(74.2% 0.158 123.4);
Tailwind
colors: {
  custom: {
    50: '#bacf78',
    500: '#98bb3a',
    950: '#000000',
  },
}
SCSS
$custom: #98bb3a;
$custom-light: #bacf78;
$custom-dark: #000000;
JSON
{
  "hex": "#98bb3a",
  "rgb": {
    "r": 152,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 76.279,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74172,
    "c": 0.15799,
    "h": 123.4
  },
  "luminance": 0.42522
}

Semantic roles & 50–950 ramp

primary
#98BB3A
secondary
#9A88C8
accent
#4CDC73
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98BB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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