#98C02A#98C02A

#98C02A is a light, vivid yellow-green. Relative luminance 0.445; OKLCH L 75.2% C 0.173 H 124.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#98C02A
RGBrgb(152, 192, 42)
HSLhsl(76, 64%, 46%)
HSVhsv(76, 78%, 75%)
CMYKcmyk(20.8%, 0%, 78.1%, 24.7%)
CIE-LABlab(72.59, -33.23, 65.33)
CIE-LCHlch(72.59, 73.29, 116.96°)
OKLaboklab(75.24% -0.0971 0.1436)
OKLCHoklch(75.24% 0.173 124.1)
XYZxyz(32.2168, 44.5416, 9.0901)
Luminance0.4454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C02A #522AC0
analogous
#C09D2A #98C02A #4DC02A
triadic
#98C02A #2A98C0 #C02A98
tetradic
#98C02A #2AC09D #522AC0 #C02A4D
square
#98C02A #2AC09D #522AC0 #C02A4D
split-complementary
#98C02A #2A4DC0 #9D2AC0
monochromatic
#485C14 #708E1F #98C02A #B4D84F #C9E381

Accessibility & contrast

On white

2.12
#98C02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#98C02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C02A
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C02A#FFFFFF#000000##000000
##98C02A1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#A0B6A4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98c02a;
/* rgb */ color: rgb(152, 192, 42);
/* oklch */ color: oklch(75.2% 0.173 124.1);
Tailwind
colors: {
  custom: {
    50: '#bad370',
    500: '#98c02a',
    950: '#000000',
  },
}
SCSS
$custom: #98c02a;
$custom-light: #bad370;
$custom-dark: #000000;
JSON
{
  "hex": "#98c02a",
  "rgb": {
    "r": 152,
    "g": 192,
    "b": 42
  },
  "hsl": {
    "h": 76,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75242,
    "c": 0.17334,
    "h": 124.1
  },
  "luminance": 0.44542
}

Semantic roles & 50–950 ramp

primary
#98C02A
secondary
#907ACC
accent
#41E76D
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #98C02A

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

Preview Lab → · Contrast checker → · Palette generator →

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