#98C931#98C931

#98C931 is a light, vivid yellow-green. Relative luminance 0.487; OKLCH L 77.4% C 0.180 H 126.3°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#98C931
RGBrgb(152, 201, 49)
HSLhsl(79, 61%, 49%)
HSVhsv(79, 76%, 79%)
CMYKcmyk(24.4%, 0%, 75.6%, 21.2%)
CIE-LABlab(75.25, -37.01, 65.64)
CIE-LCHlch(75.25, 75.36, 119.42°)
OKLaboklab(77.41% -0.1069 0.1454)
OKLCHoklch(77.41% 0.18 126.3)
XYZxyz(34.3901, 48.6699, 10.4875)
Luminance0.4867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C931 #6231C9
analogous
#C9AE31 #98C931 #4CC931
triadic
#98C931 #3198C9 #C93198
tetradic
#98C931 #31C9AE #6231C9 #C9314C
square
#98C931 #31C9AE #6231C9 #C9314C
split-complementary
#98C931 #314CC9 #AE31C9
monochromatic
#4E6719 #739825 #98C931 #B1D85F #C9E490

Accessibility & contrast

On white

1.96
#98C931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#98C931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C931
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C931#FFFFFF#000000##000000
##98C9311.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB0A
Deuteranopia (green-blind)
#CDB840
Tritanopia (blue-blind)
#9EBFAC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #98c931;
/* rgb */ color: rgb(152, 201, 49);
/* oklch */ color: oklch(77.4% 0.180 126.3);
Tailwind
colors: {
  custom: {
    50: '#bad975',
    500: '#98c931',
    950: '#000000',
  },
}
SCSS
$custom: #98c931;
$custom-light: #bad975;
$custom-dark: #000000;
JSON
{
  "hex": "#98c931",
  "rgb": {
    "r": 152,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 79.342,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77406,
    "c": 0.18045,
    "h": 126.3
  },
  "luminance": 0.4867
}

Semantic roles & 50–950 ramp

primary
#98C931
secondary
#9E87CF
accent
#44E477
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #98C931

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

Preview Lab → · Contrast checker → · Palette generator →

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