#98C151#98C151

#98C151 is a light, vivid yellow-green. Relative luminance 0.454; OKLCH L 75.8% C 0.148 H 126.5°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#98C151
RGBrgb(152, 193, 81)
HSLhsl(82, 47%, 54%)
HSVhsv(82, 58%, 76%)
CMYKcmyk(21.2%, 0%, 58%, 24.3%)
CIE-LABlab(73.16, -31.11, 50.93)
CIE-LCHlch(73.16, 59.68, 121.42°)
OKLaboklab(75.8% -0.088 0.1187)
OKLCHoklch(75.8% 0.148 126.5)
XYZxyz(33.5040, 45.4089, 14.7827)
Luminance0.4541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C151 #7A51C1
analogous
#C1B251 #98C151 #60C151
triadic
#98C151 #5198C1 #C15198
tetradic
#98C151 #51C1B2 #7A51C1 #C15160
square
#98C151 #51C1B2 #7A51C1 #C15160
split-complementary
#98C151 #5160C1 #B251C1
monochromatic
#557028 #789D38 #98C151 #B3D17E #CDE1AB

Accessibility & contrast

On white

2.08
#98C151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#98C151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C151
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C151#FFFFFF#000000##000000
##98C1511.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB545
Deuteranopia (green-blind)
#C5B359
Tritanopia (blue-blind)
#9DB9A9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #98c151;
/* rgb */ color: rgb(152, 193, 81);
/* oklch */ color: oklch(75.8% 0.148 126.5);
Tailwind
colors: {
  custom: {
    50: '#b9d486',
    500: '#98c151',
    950: '#000000',
  },
}
SCSS
$custom: #98c151;
$custom-light: #b9d486;
$custom-dark: #000000;
JSON
{
  "hex": "#98c151",
  "rgb": {
    "r": 152,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 81.964,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75795,
    "c": 0.14775,
    "h": 126.5
  },
  "luminance": 0.45409
}

Semantic roles & 50–950 ramp

primary
#98C151
secondary
#B09FCF
accent
#51D782
background
#FBFDF8
surface
#F6FAF0
border
#D0D3CB
text
#12140B
muted
#81837C

Preview Lab

Preview with #98C151

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

Preview Lab → · Contrast checker → · Palette generator →

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