#98C12D#98C12D

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

Color values

HEX#98C12D
RGBrgb(152, 193, 45)
HSLhsl(77, 62%, 47%)
HSVhsv(77, 77%, 76%)
CMYKcmyk(21.2%, 0%, 76.7%, 24.3%)
CIE-LABlab(72.89, -33.56, 64.70)
CIE-LCHlch(72.89, 72.88, 117.41°)
OKLaboklab(75.5% -0.0978 0.1427)
OKLCHoklch(75.5% 0.173 124.4)
XYZxyz(32.4928, 45.0045, 9.4570)
Luminance0.4501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C12D #562DC1
analogous
#C1A02D #98C12D #4EC12D
triadic
#98C12D #2D98C1 #C12D98
tetradic
#98C12D #2DC1A0 #562DC1 #C12D4E
square
#98C12D #2DC1A0 #562DC1 #C12D4E
split-complementary
#98C12D #2D4EC1 #A02DC1
monochromatic
#4A5E16 #718F21 #98C12D #B3D754 #C9E386

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98C12D#FFFFFF#000000##000000
##98C12D1.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)
#CCB402
Deuteranopia (green-blind)
#C7B23C
Tritanopia (blue-blind)
#9FB7A5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #98c12d;
/* rgb */ color: rgb(152, 193, 45);
/* oklch */ color: oklch(75.5% 0.173 124.4);
Tailwind
colors: {
  custom: {
    50: '#bad372',
    500: '#98c12d',
    950: '#000000',
  },
}
SCSS
$custom: #98c12d;
$custom-light: #bad372;
$custom-dark: #000000;
JSON
{
  "hex": "#98c12d",
  "rgb": {
    "r": 152,
    "g": 193,
    "b": 45
  },
  "hsl": {
    "h": 76.622,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75495,
    "c": 0.17302,
    "h": 124.4
  },
  "luminance": 0.45005
}

Semantic roles & 50–950 ramp

primary
#98C12D
secondary
#937ECC
accent
#43E570
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121409
muted
#81827B

Preview Lab

Preview with #98C12D

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

Preview Lab → · Contrast checker → · Palette generator →

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