#98C531#98C531

#98C531 is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.5% C 0.176 H 125.5°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#98C531
RGBrgb(152, 197, 49)
HSLhsl(78, 60%, 48%)
HSVhsv(78, 75%, 77%)
CMYKcmyk(22.8%, 0%, 75.1%, 22.7%)
CIE-LABlab(74.08, -35.20, 64.54)
CIE-LCHlch(74.08, 73.51, 118.61°)
OKLaboklab(76.46% -0.102 0.143)
OKLCHoklch(76.46% 0.176 125.5)
XYZxyz(33.4698, 46.8292, 10.1807)
Luminance0.4683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C531 #5E31C5
analogous
#C5A831 #98C531 #4EC531
triadic
#98C531 #3198C5 #C53198
tetradic
#98C531 #31C5A8 #5E31C5 #C5314E
square
#98C531 #31C5A8 #5E31C5 #C5314E
split-complementary
#98C531 #314EC5 #A831C5
monochromatic
#4C6319 #729425 #98C531 #B2D75D #C9E38E

Accessibility & contrast

On white

2.03
#98C531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#98C531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C531
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C531#FFFFFF#000000##000000
##98C5311.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B80E
Deuteranopia (green-blind)
#CAB53F
Tritanopia (blue-blind)
#9FBBA9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #98c531;
/* rgb */ color: rgb(152, 197, 49);
/* oklch */ color: oklch(76.5% 0.176 125.5);
Tailwind
colors: {
  custom: {
    50: '#bad674',
    500: '#98c531',
    950: '#000000',
  },
}
SCSS
$custom: #98c531;
$custom-light: #bad674;
$custom-dark: #000000;
JSON
{
  "hex": "#98c531",
  "rgb": {
    "r": 152,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 78.243,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76462,
    "c": 0.17566,
    "h": 125.5
  },
  "luminance": 0.4683
}

Semantic roles & 50–950 ramp

primary
#98C531
secondary
#9B85CD
accent
#44E375
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #98C531

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

Preview Lab → · Contrast checker → · Palette generator →

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