#98C22B#98C22B

#98C22B 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#98C22B
RGBrgb(152, 194, 43)
HSLhsl(77, 64%, 46%)
HSVhsv(77, 78%, 76%)
CMYKcmyk(21.6%, 0%, 77.8%, 23.9%)
CIE-LABlab(73.18, -34.11, 65.57)
CIE-LCHlch(73.18, 73.91, 117.48°)
OKLaboklab(75.72% -0.0995 0.1442)
OKLCHoklch(75.72% 0.175 124.6)
XYZxyz(32.6771, 45.4330, 9.3329)
Luminance0.4543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C22B #552BC2
analogous
#C2A12B #98C22B #4DC22B
triadic
#98C22B #2B98C2 #C22B98
tetradic
#98C22B #2BC2A1 #552BC2 #C22B4D
square
#98C22B #2BC2A1 #552BC2 #C22B4D
split-complementary
#98C22B #2B4DC2 #A12BC2
monochromatic
#495E15 #719020 #98C22B #B3D952 #C9E484

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98C22B#FFFFFF#000000##000000
##98C22B1.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)
#C7B33A
Tritanopia (blue-blind)
#9FB8A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #98c22b;
/* rgb */ color: rgb(152, 194, 43);
/* oklch */ color: oklch(75.7% 0.175 124.6);
Tailwind
colors: {
  custom: {
    50: '#bad471',
    500: '#98c22b',
    950: '#000000',
  },
}
SCSS
$custom: #98c22b;
$custom-light: #bad471;
$custom-dark: #000000;
JSON
{
  "hex": "#98c22b",
  "rgb": {
    "r": 152,
    "g": 194,
    "b": 43
  },
  "hsl": {
    "h": 76.689,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75719,
    "c": 0.17521,
    "h": 124.6
  },
  "luminance": 0.45433
}

Semantic roles & 50–950 ramp

primary
#98C22B
secondary
#927CCD
accent
#41E76F
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121408
muted
#81837B

Preview Lab

Preview with #98C22B

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

Preview Lab → · Contrast checker → · Palette generator →

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