#98C02E#98C02E

#98C02E is a light, vivid yellow-green. Relative luminance 0.446; OKLCH L 75.3% C 0.171 H 124.2°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#98C02E
RGBrgb(152, 192, 46)
HSLhsl(76, 61%, 47%)
HSVhsv(76, 76%, 75%)
CMYKcmyk(20.8%, 0%, 76%, 24.7%)
CIE-LABlab(72.61, -33.04, 64.11)
CIE-LCHlch(72.61, 72.13, 117.27°)
OKLaboklab(75.27% -0.0963 0.1417)
OKLCHoklch(75.27% 0.171 124.2)
XYZxyz(32.2920, 44.5716, 9.4862)
Luminance0.4457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C02E #562EC0
analogous
#C09F2E #98C02E #4FC02E
triadic
#98C02E #2E98C0 #C02E98
tetradic
#98C02E #2EC09F #562EC0 #C02E4F
square
#98C02E #2EC09F #562EC0 #C02E4F
split-complementary
#98C02E #2E4FC0 #9F2EC0
monochromatic
#4A5D16 #718F22 #98C02E #B3D655 #C9E286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98C02E#FFFFFF#000000##000000
##98C02E1.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)
#CBB307
Deuteranopia (green-blind)
#C6B23C
Tritanopia (blue-blind)
#9FB6A5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98c02e;
/* rgb */ color: rgb(152, 192, 46);
/* oklch */ color: oklch(75.3% 0.171 124.2);
Tailwind
colors: {
  custom: {
    50: '#bad372',
    500: '#98c02e',
    950: '#000000',
  },
}
SCSS
$custom: #98c02e;
$custom-light: #bad372;
$custom-dark: #000000;
JSON
{
  "hex": "#98c02e",
  "rgb": {
    "r": 152,
    "g": 192,
    "b": 46
  },
  "hsl": {
    "h": 76.438,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75265,
    "c": 0.17131,
    "h": 124.2
  },
  "luminance": 0.44572
}

Semantic roles & 50–950 ramp

primary
#98C02E
secondary
#937ECC
accent
#43E46F
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121409
muted
#81827B

Preview Lab

Preview with #98C02E

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

Preview Lab → · Contrast checker → · Palette generator →

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