#98C22C#98C22C

#98C22C is a light, vivid yellow-green. Relative luminance 0.454; OKLCH L 75.7% C 0.175 H 124.6°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#98C22C
RGBrgb(152, 194, 44)
HSLhsl(77, 63%, 47%)
HSVhsv(77, 77%, 76%)
CMYKcmyk(21.6%, 0%, 77.3%, 23.9%)
CIE-LABlab(73.18, -34.06, 65.27)
CIE-LCHlch(73.18, 73.62, 117.56°)
OKLaboklab(75.72% -0.0993 0.1438)
OKLCHoklch(75.72% 0.175 124.6)
XYZxyz(32.6956, 45.4405, 9.4307)
Luminance0.4544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C22C #562CC2
analogous
#C2A12C #98C22C #4DC22C
triadic
#98C22C #2C98C2 #C22C98
tetradic
#98C22C #2CC2A1 #562CC2 #C22C4D
square
#98C22C #2CC2A1 #562CC2 #C22C4D
split-complementary
#98C22C #2C4DC2 #A12CC2
monochromatic
#4A5E15 #719021 #98C22C #B3D853 #C9E385

Accessibility & contrast

On white

2.08
#98C22C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#98C22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C22C
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C22C#FFFFFF#000000##000000
##98C22C1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#9FB8A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #98c22c;
/* rgb */ color: rgb(152, 194, 44);
/* oklch */ color: oklch(75.7% 0.175 124.6);
Tailwind
colors: {
  custom: {
    50: '#bad472',
    500: '#98c22c',
    950: '#000000',
  },
}
SCSS
$custom: #98c22c;
$custom-light: #bad472;
$custom-dark: #000000;
JSON
{
  "hex": "#98c22c",
  "rgb": {
    "r": 152,
    "g": 194,
    "b": 44
  },
  "hsl": {
    "h": 76.8,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75725,
    "c": 0.17471,
    "h": 124.6
  },
  "luminance": 0.45441
}

Semantic roles & 50–950 ramp

primary
#98C22C
secondary
#937DCD
accent
#42E670
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #98C22C

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

Preview Lab → · Contrast checker → · Palette generator →

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