#98C852#98C852

#98C852 is a light, vivid yellow-green. Relative luminance 0.486; OKLCH L 77.4% C 0.156 H 128.2°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#98C852
RGBrgb(152, 200, 82)
HSLhsl(84, 52%, 55%)
HSVhsv(84, 59%, 78%)
CMYKcmyk(24%, 0%, 59%, 21.6%)
CIE-LABlab(75.20, -34.28, 52.79)
CIE-LCHlch(75.20, 62.94, 123.00°)
OKLaboklab(77.44% -0.0967 0.1228)
OKLCHoklch(77.44% 0.156 128.2)
XYZxyz(35.1260, 48.5925, 15.5097)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C852 #8252C8
analogous
#C8BD52 #98C852 #5DC852
triadic
#98C852 #5298C8 #C85298
tetradic
#98C852 #52C8BD #8252C8 #C8525D
square
#98C852 #52C8BD #8252C8 #C8525D
split-complementary
#98C852 #525DC8 #BD52C8
monochromatic
#577927 #79A835 #98C852 #B4D780 #CFE6AF

Accessibility & contrast

On white

1.96
#98C852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#98C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C852
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C852#FFFFFF#000000##000000
##98C8521.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB45
Deuteranopia (green-blind)
#CAB85A
Tritanopia (blue-blind)
#9DC0AF
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #98c852;
/* rgb */ color: rgb(152, 200, 82);
/* oklch */ color: oklch(77.4% 0.156 128.2);
Tailwind
colors: {
  custom: {
    50: '#b9d987',
    500: '#98c852',
    950: '#000000',
  },
}
SCSS
$custom: #98c852;
$custom-light: #b9d987;
$custom-dark: #000000;
JSON
{
  "hex": "#98c852",
  "rgb": {
    "r": 152,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 84.407,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77445,
    "c": 0.15626,
    "h": 128.2
  },
  "luminance": 0.48593
}

Semantic roles & 50–950 ramp

primary
#98C852
secondary
#B6A2D4
accent
#4DDB87
background
#FBFDF8
surface
#F6FAF0
border
#D0D3CB
text
#12140B
muted
#81837C

Preview Lab

Preview with #98C852

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

Preview Lab → · Contrast checker → · Palette generator →

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