#98BC2A#98BC2A

#98BC2A is a light, vivid yellow-green. Relative luminance 0.428; OKLCH L 74.3% C 0.169 H 123.1°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#98BC2A
RGBrgb(152, 188, 42)
HSLhsl(75, 63%, 45%)
HSVhsv(75, 78%, 74%)
CMYKcmyk(19.1%, 0%, 77.7%, 26.3%)
CIE-LABlab(71.42, -31.37, 64.26)
CIE-LCHlch(71.42, 71.50, 116.02°)
OKLaboklab(74.3% -0.0921 0.1413)
OKLCHoklch(74.3% 0.169 123.1)
XYZxyz(31.3505, 42.8088, 8.8013)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BC2A #4E2ABC
analogous
#BC972A #98BC2A #4FBC2A
triadic
#98BC2A #2A98BC #BC2A98
tetradic
#98BC2A #2ABC97 #4E2ABC #BC2A4F
square
#98BC2A #2ABC97 #4E2ABC #BC2A4F
split-complementary
#98BC2A #2A4FBC #972ABC
monochromatic
#475814 #708A1F #98BC2A #B5D74C #CAE27E

Accessibility & contrast

On white

2.20
#98BC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#98BC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BC2A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BC2A#FFFFFF#000000##000000
##98BC2A1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#A0B2A1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #98bc2a;
/* rgb */ color: rgb(152, 188, 42);
/* oklch */ color: oklch(74.3% 0.169 123.1);
Tailwind
colors: {
  custom: {
    50: '#bad070',
    500: '#98bc2a',
    950: '#000000',
  },
}
SCSS
$custom: #98bc2a;
$custom-light: #bad070;
$custom-dark: #000000;
JSON
{
  "hex": "#98bc2a",
  "rgb": {
    "r": 152,
    "g": 188,
    "b": 42
  },
  "hsl": {
    "h": 74.795,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74301,
    "c": 0.16864,
    "h": 123.1
  },
  "luminance": 0.42809
}

Semantic roles & 50–950 ramp

primary
#98BC2A
secondary
#8C77CB
accent
#41E76A
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #98BC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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