#98C152#98C152

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

Color values

HEX#98C152
RGBrgb(152, 193, 82)
HSLhsl(82, 47%, 54%)
HSVhsv(82, 58%, 76%)
CMYKcmyk(21.2%, 0%, 57.5%, 24.3%)
CIE-LABlab(73.17, -31.02, 50.49)
CIE-LCHlch(73.17, 59.26, 121.57°)
OKLaboklab(75.81% -0.0876 0.1179)
OKLCHoklch(75.81% 0.147 126.6)
XYZxyz(33.5418, 45.4241, 14.9816)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C152 #7B52C1
analogous
#C1B352 #98C152 #61C152
triadic
#98C152 #5298C1 #C15298
tetradic
#98C152 #52C1B3 #7B52C1 #C15261
square
#98C152 #52C1B3 #7B52C1 #C15261
split-complementary
#98C152 #5261C1 #B352C1
monochromatic
#567028 #789D38 #98C152 #B3D17F #CEE1AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98C152#FFFFFF#000000##000000
##98C1521.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)
#CAB546
Deuteranopia (green-blind)
#C4B359
Tritanopia (blue-blind)
#9DB9A9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #98c152;
/* rgb */ color: rgb(152, 193, 82);
/* oklch */ color: oklch(75.8% 0.147 126.6);
Tailwind
colors: {
  custom: {
    50: '#b9d486',
    500: '#98c152',
    950: '#000000',
  },
}
SCSS
$custom: #98c152;
$custom-light: #b9d486;
$custom-dark: #000000;
JSON
{
  "hex": "#98c152",
  "rgb": {
    "r": 152,
    "g": 193,
    "b": 82
  },
  "hsl": {
    "h": 82.162,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75806,
    "c": 0.14687,
    "h": 126.6
  },
  "luminance": 0.45425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98C152

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

Preview Lab → · Contrast checker → · Palette generator →

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