#98C031#98C031

#98C031 is a light, vivid yellow-green. Relative luminance 0.446; OKLCH L 75.3% C 0.170 H 124.3°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#98C031
RGBrgb(152, 192, 49)
HSLhsl(77, 59%, 47%)
HSVhsv(77, 74%, 75%)
CMYKcmyk(20.8%, 0%, 74.5%, 24.7%)
CIE-LABlab(72.63, -32.89, 63.15)
CIE-LCHlch(72.63, 71.20, 117.52°)
OKLaboklab(75.28% -0.0957 0.1401)
OKLCHoklch(75.28% 0.17 124.3)
XYZxyz(32.3532, 44.5961, 9.8086)
Luminance0.4460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C031 #5931C0
analogous
#C0A031 #98C031 #51C031
triadic
#98C031 #3198C0 #C03198
tetradic
#98C031 #31C0A0 #5931C0 #C03151
square
#98C031 #31C0A0 #5931C0 #C03151
split-complementary
#98C031 #3151C0 #A031C0
monochromatic
#4B5E18 #718F25 #98C031 #B2D559 #C9E18A

Accessibility & contrast

On white

2.12
#98C031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#98C031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C031
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C031#FFFFFF#000000##000000
##98C0311.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB311
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#9FB6A5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98c031;
/* rgb */ color: rgb(152, 192, 49);
/* oklch */ color: oklch(75.3% 0.170 124.3);
Tailwind
colors: {
  custom: {
    50: '#bad374',
    500: '#98c031',
    950: '#000000',
  },
}
SCSS
$custom: #98c031;
$custom-light: #bad374;
$custom-dark: #000000;
JSON
{
  "hex": "#98c031",
  "rgb": {
    "r": 152,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 76.783,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75283,
    "c": 0.16967,
    "h": 124.3
  },
  "luminance": 0.44596
}

Semantic roles & 50–950 ramp

primary
#98C031
secondary
#9682CB
accent
#45E371
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121409
muted
#81827B

Preview Lab

Preview with #98C031

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

Preview Lab → · Contrast checker → · Palette generator →

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