#98C751#98C751

#98C751 is a light, vivid yellow-green. Relative luminance 0.481; OKLCH L 77.2% C 0.156 H 127.9°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#98C751
RGBrgb(152, 199, 81)
HSLhsl(84, 51%, 55%)
HSVhsv(84, 59%, 78%)
CMYKcmyk(23.6%, 0%, 59.3%, 22%)
CIE-LABlab(74.90, -33.91, 52.89)
CIE-LCHlch(74.90, 62.83, 122.66°)
OKLaboklab(77.2% -0.0957 0.1229)
OKLCHoklch(77.2% 0.156 127.9)
XYZxyz(34.8574, 48.1157, 15.2338)
Luminance0.4812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C751 #8051C7
analogous
#C7BB51 #98C751 #5DC751
triadic
#98C751 #5198C7 #C75198
tetradic
#98C751 #51C7BB #8051C7 #C7515D
square
#98C751 #51C7BB #8051C7 #C7515D
split-complementary
#98C751 #515DC7 #BB51C7
monochromatic
#577726 #79A635 #98C751 #B3D67F #CFE5AE

Accessibility & contrast

On white

1.98
#98C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#98C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C751
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C751#FFFFFF#000000##000000
##98C7511.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA44
Deuteranopia (green-blind)
#CAB759
Tritanopia (blue-blind)
#9DBFAE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #98c751;
/* rgb */ color: rgb(152, 199, 81);
/* oklch */ color: oklch(77.2% 0.156 127.9);
Tailwind
colors: {
  custom: {
    50: '#b9d886',
    500: '#98c751',
    950: '#000000',
  },
}
SCSS
$custom: #98c751;
$custom-light: #b9d886;
$custom-dark: #000000;
JSON
{
  "hex": "#98c751",
  "rgb": {
    "r": 152,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 83.898,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77199,
    "c": 0.15578,
    "h": 127.9
  },
  "luminance": 0.48116
}

Semantic roles & 50–950 ramp

primary
#98C751
secondary
#B5A1D3
accent
#4DDB85
background
#FBFDF8
surface
#F6FAF0
border
#D0D3CB
text
#12140B
muted
#81837C

Preview Lab

Preview with #98C751

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

Preview Lab → · Contrast checker → · Palette generator →

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