#98D351#98D351

#98D351 is a light, vivid yellow-green. Relative luminance 0.539; OKLCH L 80.0% C 0.172 H 130.2°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#98D351
RGBrgb(152, 211, 81)
HSLhsl(87, 60%, 57%)
HSVhsv(87, 62%, 83%)
CMYKcmyk(28%, 0%, 61.6%, 17.3%)
CIE-LABlab(78.38, -39.34, 56.76)
CIE-LCHlch(78.38, 69.06, 124.72°)
OKLaboklab(80.02% -0.1107 0.1311)
OKLCHoklch(80.02% 0.172 130.2)
XYZxyz(37.7281, 53.8570, 16.1907)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D351 #8C51D3
analogous
#D3CD51 #98D351 #57D351
triadic
#98D351 #5198D3 #D35198
tetradic
#98D351 #51D3CD #8C51D3 #D35157
square
#98D351 #51D3CD #8C51D3 #D35157
split-complementary
#98D351 #5157D3 #CD51D3
monochromatic
#598722 #7AB82F #98D351 #B5DF82 #D2ECB3

Accessibility & contrast

On white

1.78
#98D351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#98D351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D351
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D351#FFFFFF#000000##000000
##98D3511.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC542
Deuteranopia (green-blind)
#D4C05B
Tritanopia (blue-blind)
#9BCAB8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #98d351;
/* rgb */ color: rgb(152, 211, 81);
/* oklch */ color: oklch(80.0% 0.172 130.2);
Tailwind
colors: {
  custom: {
    50: '#bae187',
    500: '#98d351',
    950: '#000000',
  },
}
SCSS
$custom: #98d351;
$custom-light: #bae187;
$custom-dark: #000000;
JSON
{
  "hex": "#98d351",
  "rgb": {
    "r": 152,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 87.231,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8002,
    "c": 0.17162,
    "h": 130.2
  },
  "luminance": 0.53858
}

Semantic roles & 50–950 ramp

primary
#98D351
secondary
#603A8E
accent
#45E38D
background
#FDFEFC
surface
#F8FCF3
border
#D1D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D351

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

Preview Lab → · Contrast checker → · Palette generator →

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