#98C42D#98C42D

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

Color values

HEX#98C42D
RGBrgb(152, 196, 45)
HSLhsl(77, 63%, 47%)
HSVhsv(77, 77%, 77%)
CMYKcmyk(22.4%, 0%, 77%, 23.1%)
CIE-LABlab(73.77, -34.93, 65.51)
CIE-LCHlch(73.77, 74.24, 118.07°)
OKLaboklab(76.2% -0.1016 0.1444)
OKLCHoklch(76.2% 0.177 125.1)
XYZxyz(33.1628, 46.3443, 9.6803)
Luminance0.4634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C42D #592DC4
analogous
#C4A42D #98C42D #4DC42D
triadic
#98C42D #2D98C4 #C42D98
tetradic
#98C42D #2DC4A4 #592DC4 #C42D4D
square
#98C42D #2DC4A4 #592DC4 #C42D4D
split-complementary
#98C42D #2D4DC4 #A42DC4
monochromatic
#4B6016 #719222 #98C42D #B2D856 #C9E488

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98C42D#FFFFFF#000000##000000
##98C42D1.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)
#CFB700
Deuteranopia (green-blind)
#C9B53C
Tritanopia (blue-blind)
#9FBAA8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #98c42d;
/* rgb */ color: rgb(152, 196, 45);
/* oklch */ color: oklch(76.2% 0.177 125.1);
Tailwind
colors: {
  custom: {
    50: '#bad672',
    500: '#98c42d',
    950: '#000000',
  },
}
SCSS
$custom: #98c42d;
$custom-light: #bad672;
$custom-dark: #000000;
JSON
{
  "hex": "#98c42d",
  "rgb": {
    "r": 152,
    "g": 196,
    "b": 45
  },
  "hsl": {
    "h": 77.483,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76202,
    "c": 0.17657,
    "h": 125.1
  },
  "luminance": 0.46345
}

Semantic roles & 50–950 ramp

primary
#98C42D
secondary
#9680CD
accent
#42E672
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #98C42D

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

Preview Lab → · Contrast checker → · Palette generator →

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