#98D255#98D255

#98D255 is a light, vivid yellow-green. Relative luminance 0.534; OKLCH L 79.8% C 0.167 H 130.4°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#98D255
RGBrgb(152, 210, 85)
HSLhsl(88, 58%, 58%)
HSVhsv(88, 60%, 82%)
CMYKcmyk(27.6%, 0%, 59.5%, 17.6%)
CIE-LABlab(78.12, -38.55, 54.76)
CIE-LCHlch(78.12, 66.96, 125.15°)
OKLaboklab(79.83% -0.1082 0.1273)
OKLCHoklch(79.83% 0.167 130.4)
XYZxyz(37.6348, 53.4234, 16.9215)
Luminance0.5342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D255 #8F55D2
analogous
#D2CE55 #98D255 #59D255
triadic
#98D255 #5598D2 #D25598
tetradic
#98D255 #55D2CE #8F55D2 #D25559
square
#98D255 #55D2CE #8F55D2 #D25559
split-complementary
#98D255 #5559D2 #CE55D2
monochromatic
#5A8824 #7AB931 #98D255 #B5DF85 #D3ECB6

Accessibility & contrast

On white

1.80
#98D255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#98D255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D255
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D255#FFFFFF#000000##000000
##98D2551.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC447
Deuteranopia (green-blind)
#D3C05E
Tritanopia (blue-blind)
#9BCAB7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #98d255;
/* rgb */ color: rgb(152, 210, 85);
/* oklch */ color: oklch(79.8% 0.167 130.4);
Tailwind
colors: {
  custom: {
    50: '#bae089',
    500: '#98d255',
    950: '#000000',
  },
}
SCSS
$custom: #98d255;
$custom-light: #bae089;
$custom-dark: #000000;
JSON
{
  "hex": "#98d255",
  "rgb": {
    "r": 152,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 87.84,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79826,
    "c": 0.16708,
    "h": 130.4
  },
  "luminance": 0.53424
}

Semantic roles & 50–950 ramp

primary
#98D255
secondary
#633C8F
accent
#46E18E
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #98D255

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

Preview Lab → · Contrast checker → · Palette generator →

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