#98C831#98C831

#98C831 is a light, vivid yellow-green. Relative luminance 0.482; OKLCH L 77.2% C 0.179 H 126.1°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#98C831
RGBrgb(152, 200, 49)
HSLhsl(79, 61%, 49%)
HSVhsv(79, 76%, 78%)
CMYKcmyk(24%, 0%, 75.5%, 21.6%)
CIE-LABlab(74.95, -36.56, 65.37)
CIE-LCHlch(74.95, 74.89, 119.22°)
OKLaboklab(77.17% -0.1057 0.1448)
OKLCHoklch(77.17% 0.179 126.1)
XYZxyz(34.1577, 48.2052, 10.4101)
Luminance0.4821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C831 #6131C8
analogous
#C8AD31 #98C831 #4DC831
triadic
#98C831 #3198C8 #C83198
tetradic
#98C831 #31C8AD #6131C8 #C8314D
square
#98C831 #31C8AD #6131C8 #C8314D
split-complementary
#98C831 #314DC8 #AD31C8
monochromatic
#4D6619 #739725 #98C831 #B1D85F #C9E490

Accessibility & contrast

On white

1.97
#98C831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#98C831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C831
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C831#FFFFFF#000000##000000
##98C8311.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA0B
Deuteranopia (green-blind)
#CCB840
Tritanopia (blue-blind)
#9FBEAC
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #98c831;
/* rgb */ color: rgb(152, 200, 49);
/* oklch */ color: oklch(77.2% 0.179 126.1);
Tailwind
colors: {
  custom: {
    50: '#bad975',
    500: '#98c831',
    950: '#000000',
  },
}
SCSS
$custom: #98c831;
$custom-light: #bad975;
$custom-dark: #000000;
JSON
{
  "hex": "#98c831",
  "rgb": {
    "r": 152,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 79.073,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7717,
    "c": 0.17926,
    "h": 126.1
  },
  "luminance": 0.48206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98C831

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

Preview Lab → · Contrast checker → · Palette generator →

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