#98C23A#98C23A

#98C23A is a light, vivid yellow-green. Relative luminance 0.456; OKLCH L 75.8% C 0.167 H 125.2°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#98C23A
RGBrgb(152, 194, 58)
HSLhsl(79, 54%, 49%)
HSVhsv(79, 70%, 76%)
CMYKcmyk(21.6%, 0%, 70.1%, 23.9%)
CIE-LABlab(73.26, -33.31, 60.59)
CIE-LCHlch(73.26, 69.14, 118.80°)
OKLaboklab(75.82% -0.0961 0.1361)
OKLCHoklch(75.82% 0.167 125.2)
XYZxyz(33.0046, 45.5641, 11.0581)
Luminance0.4556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C23A #643AC2
analogous
#C2A83A #98C23A #54C23A
triadic
#98C23A #3A98C2 #C23A98
tetradic
#98C23A #3AC2A8 #643AC2 #C23A54
square
#98C23A #3AC2A8 #643AC2 #C23A54
split-complementary
#98C23A #3A54C2 #A83AC2
monochromatic
#4E641E #73932C #98C23A #B1D267 #C9E097

Accessibility & contrast

On white

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

On black

10.11
#98C23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C23A
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C23A#FFFFFF#000000##000000
##98C23A1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB524
Deuteranopia (green-blind)
#C7B346
Tritanopia (blue-blind)
#9FB9A7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #98c23a;
/* rgb */ color: rgb(152, 194, 58);
/* oklch */ color: oklch(75.8% 0.167 125.2);
Tailwind
colors: {
  custom: {
    50: '#bad478',
    500: '#98c23a',
    950: '#000000',
  },
}
SCSS
$custom: #98c23a;
$custom-light: #bad478;
$custom-dark: #000000;
JSON
{
  "hex": "#98c23a",
  "rgb": {
    "r": 152,
    "g": 194,
    "b": 58
  },
  "hsl": {
    "h": 78.529,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75816,
    "c": 0.16664,
    "h": 125.2
  },
  "luminance": 0.45564
}

Semantic roles & 50–950 ramp

primary
#98C23A
secondary
#A08DCB
accent
#4ADD78
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#121409
muted
#81837B

Preview Lab

Preview with #98C23A

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

Preview Lab → · Contrast checker → · Palette generator →

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