#98C538#98C538

#98C538 is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.5% C 0.172 H 125.8°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#98C538
RGBrgb(152, 197, 56)
HSLhsl(79, 56%, 50%)
HSVhsv(79, 72%, 77%)
CMYKcmyk(22.8%, 0%, 71.6%, 22.7%)
CIE-LABlab(74.12, -34.81, 62.18)
CIE-LCHlch(74.12, 71.26, 119.24°)
OKLaboklab(76.51% -0.1004 0.1392)
OKLCHoklch(76.51% 0.172 125.8)
XYZxyz(33.6291, 46.8929, 11.0201)
Luminance0.4689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C538 #6538C5
analogous
#C5AC38 #98C538 #52C538
triadic
#98C538 #3898C5 #C53898
tetradic
#98C538 #38C5AC #6538C5 #C53852
square
#98C538 #38C5AC #6538C5 #C53852
split-complementary
#98C538 #3852C5 #AC38C5
monochromatic
#4E661D #73952A #98C538 #B1D467 #C9E196

Accessibility & contrast

On white

2.02
#98C538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#98C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C538
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C538#FFFFFF#000000##000000
##98C5381.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81F
Deuteranopia (green-blind)
#C9B644
Tritanopia (blue-blind)
#9EBCAA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #98c538;
/* rgb */ color: rgb(152, 197, 56);
/* oklch */ color: oklch(76.5% 0.172 125.8);
Tailwind
colors: {
  custom: {
    50: '#bad678',
    500: '#98c538',
    950: '#000000',
  },
}
SCSS
$custom: #98c538;
$custom-light: #bad678;
$custom-dark: #000000;
JSON
{
  "hex": "#98c538",
  "rgb": {
    "r": 152,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 79.149,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76508,
    "c": 0.1716,
    "h": 125.8
  },
  "luminance": 0.46893
}

Semantic roles & 50–950 ramp

primary
#98C538
secondary
#A18CCD
accent
#49DF79
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#121409
muted
#81837B

Preview Lab

Preview with #98C538

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

Preview Lab → · Contrast checker → · Palette generator →

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