#98C93C#98C93C

#98C93C is a light, vivid yellow-green. Relative luminance 0.488; OKLCH L 77.5% C 0.174 H 126.9°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#98C93C
RGBrgb(152, 201, 60)
HSLhsl(81, 57%, 51%)
HSVhsv(81, 70%, 79%)
CMYKcmyk(24.4%, 0%, 70.1%, 21.2%)
CIE-LABlab(75.31, -36.39, 61.91)
CIE-LCHlch(75.31, 71.81, 120.45°)
OKLaboklab(77.48% -0.1044 0.1392)
OKLCHoklch(77.48% 0.174 126.9)
XYZxyz(34.6512, 48.7743, 11.8629)
Luminance0.4878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C93C #6D3CC9
analogous
#C9B33C #98C93C #51C93C
triadic
#98C93C #3C98C9 #C93C98
tetradic
#98C93C #3CC9B3 #6D3CC9 #C93C51
square
#98C93C #3CC9B3 #6D3CC9 #C93C51
split-complementary
#98C93C #3C51C9 #B33CC9
monochromatic
#516D1E #759C2B #98C93C #B1D66C #CBE49C

Accessibility & contrast

On white

1.95
#98C93C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#98C93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C93C
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C93C#FFFFFF#000000##000000
##98C93C1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB25
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#9EC0AD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #98c93c;
/* rgb */ color: rgb(152, 201, 60);
/* oklch */ color: oklch(77.5% 0.174 126.9);
Tailwind
colors: {
  custom: {
    50: '#bad97a',
    500: '#98c93c',
    950: '#000000',
  },
}
SCSS
$custom: #98c93c;
$custom-light: #bad97a;
$custom-dark: #000000;
JSON
{
  "hex": "#98c93c",
  "rgb": {
    "r": 152,
    "g": 201,
    "b": 60
  },
  "hsl": {
    "h": 80.851,
    "s": 56.627,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7748,
    "c": 0.174,
    "h": 126.9
  },
  "luminance": 0.48775
}

Semantic roles & 50–950 ramp

primary
#98C93C
secondary
#A791D0
accent
#48E07D
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #98C93C

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

Preview Lab → · Contrast checker → · Palette generator →

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