#98C12A#98C12A

#98C12A is a light, vivid yellow-green. Relative luminance 0.450; OKLCH L 75.5% C 0.175 H 124.3°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#98C12A
RGBrgb(152, 193, 42)
HSLhsl(76, 64%, 46%)
HSVhsv(76, 78%, 76%)
CMYKcmyk(21.2%, 0%, 78.2%, 24.3%)
CIE-LABlab(72.88, -33.69, 65.60)
CIE-LCHlch(72.88, 73.74, 117.19°)
OKLaboklab(75.48% -0.0984 0.1441)
OKLCHoklch(75.48% 0.175 124.3)
XYZxyz(32.4371, 44.9822, 9.1636)
Luminance0.4498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C12A #532AC1
analogous
#C19E2A #98C12A #4DC12A
triadic
#98C12A #2A98C1 #C12A98
tetradic
#98C12A #2AC19E #532AC1 #C12A4D
square
#98C12A #2AC19E #532AC1 #C12A4D
split-complementary
#98C12A #2A4DC1 #9E2AC1
monochromatic
#495C14 #708F1F #98C12A #B3D94F #C9E482

Accessibility & contrast

On white

2.10
#98C12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#98C12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C12A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C12A#FFFFFF#000000##000000
##98C12A1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#C7B23A
Tritanopia (blue-blind)
#A0B7A5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #98c12a;
/* rgb */ color: rgb(152, 193, 42);
/* oklch */ color: oklch(75.5% 0.175 124.3);
Tailwind
colors: {
  custom: {
    50: '#bad371',
    500: '#98c12a',
    950: '#000000',
  },
}
SCSS
$custom: #98c12a;
$custom-light: #bad371;
$custom-dark: #000000;
JSON
{
  "hex": "#98c12a",
  "rgb": {
    "r": 152,
    "g": 193,
    "b": 42
  },
  "hsl": {
    "h": 76.291,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75478,
    "c": 0.17452,
    "h": 124.3
  },
  "luminance": 0.44982
}

Semantic roles & 50–950 ramp

primary
#98C12A
secondary
#917ACD
accent
#41E76E
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #98C12A

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

Preview Lab → · Contrast checker → · Palette generator →

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