#98BB2A#98BB2A

#98BB2A is a light, vivid yellow-green. Relative luminance 0.424; OKLCH L 74.1% C 0.167 H 122.8°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#98BB2A
RGBrgb(152, 187, 42)
HSLhsl(74, 63%, 45%)
HSVhsv(74, 78%, 73%)
CMYKcmyk(18.7%, 0%, 77.5%, 26.7%)
CIE-LABlab(71.13, -30.90, 63.99)
CIE-LCHlch(71.13, 71.06, 115.77°)
OKLaboklab(74.07% -0.0908 0.1407)
OKLCHoklch(74.07% 0.167 122.8)
XYZxyz(31.1376, 42.3831, 8.7304)
Luminance0.4238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BB2A #4D2ABB
analogous
#BB962A #98BB2A #4FBB2A
triadic
#98BB2A #2A98BB #BB2A98
tetradic
#98BB2A #2ABB96 #4D2ABB #BB2A4F
square
#98BB2A #2ABB96 #4D2ABB #BB2A4F
split-complementary
#98BB2A #2A4FBB #962ABB
monochromatic
#475714 #6F891F #98BB2A #B5D74C #CAE27D

Accessibility & contrast

On white

2.22
#98BB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#98BB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BB2A
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BB2A#FFFFFF#000000##000000
##98BB2A1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98bb2a;
/* rgb */ color: rgb(152, 187, 42);
/* oklch */ color: oklch(74.1% 0.167 122.8);
Tailwind
colors: {
  custom: {
    50: '#bacf70',
    500: '#98bb2a',
    950: '#000000',
  },
}
SCSS
$custom: #98bb2a;
$custom-light: #bacf70;
$custom-dark: #000000;
JSON
{
  "hex": "#98bb2a",
  "rgb": {
    "r": 152,
    "g": 187,
    "b": 42
  },
  "hsl": {
    "h": 74.483,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74066,
    "c": 0.16746,
    "h": 122.8
  },
  "luminance": 0.42383
}

Semantic roles & 50–950 ramp

primary
#98BB2A
secondary
#8B76CA
accent
#41E669
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98BB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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