#98C42E#98C42E

#98C42E is a light, vivid yellow-green. Relative luminance 0.464; OKLCH L 76.2% C 0.176 H 125.2°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#98C42E
RGBrgb(152, 196, 46)
HSLhsl(78, 62%, 47%)
HSVhsv(78, 77%, 77%)
CMYKcmyk(22.4%, 0%, 76.5%, 23.1%)
CIE-LABlab(73.77, -34.89, 65.20)
CIE-LCHlch(73.77, 73.95, 118.15°)
OKLaboklab(76.21% -0.1014 0.144)
OKLCHoklch(76.21% 0.176 125.2)
XYZxyz(33.1822, 46.3521, 9.7829)
Luminance0.4635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C42E #5A2EC4
analogous
#C4A52E #98C42E #4DC42E
triadic
#98C42E #2E98C4 #C42E98
tetradic
#98C42E #2EC4A5 #5A2EC4 #C42E4D
square
#98C42E #2EC4A5 #5A2EC4 #C42E4D
split-complementary
#98C42E #2E4DC4 #A52EC4
monochromatic
#4B6117 #729222 #98C42E #B2D858 #C9E389

Accessibility & contrast

On white

2.04
#98C42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#98C42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C42E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C42E#FFFFFF#000000##000000
##98C42E1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB703
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#9FBAA8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #98c42e;
/* rgb */ color: rgb(152, 196, 46);
/* oklch */ color: oklch(76.2% 0.176 125.2);
Tailwind
colors: {
  custom: {
    50: '#bad673',
    500: '#98c42e',
    950: '#000000',
  },
}
SCSS
$custom: #98c42e;
$custom-light: #bad673;
$custom-dark: #000000;
JSON
{
  "hex": "#98c42e",
  "rgb": {
    "r": 152,
    "g": 196,
    "b": 46
  },
  "hsl": {
    "h": 77.6,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76208,
    "c": 0.17606,
    "h": 125.2
  },
  "luminance": 0.46353
}

Semantic roles & 50–950 ramp

primary
#98C42E
secondary
#9781CD
accent
#43E572
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #98C42E

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

Preview Lab → · Contrast checker → · Palette generator →

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