#98C840#98C840

#98C840 is a light, vivid yellow-green. Relative luminance 0.484; OKLCH L 77.3% C 0.170 H 126.9°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#98C840
RGBrgb(152, 200, 64)
HSLhsl(81, 55%, 52%)
HSVhsv(81, 68%, 78%)
CMYKcmyk(24%, 0%, 68%, 21.6%)
CIE-LABlab(75.05, -35.68, 60.13)
CIE-LCHlch(75.05, 69.92, 120.68°)
OKLaboklab(77.28% -0.1021 0.1361)
OKLCHoklch(77.28% 0.17 126.9)
XYZxyz(34.5287, 48.3535, 12.3635)
Luminance0.4835 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C840 #7040C8
analogous
#C8B440 #98C840 #54C840
triadic
#98C840 #4098C8 #C84098
tetradic
#98C840 #40C8B4 #7040C8 #C84054
square
#98C840 #40C8B4 #7040C8 #C84054
split-complementary
#98C840 #4054C8 #B440C8
monochromatic
#526E20 #769D2D #98C840 #B2D670 #CBE39F

Accessibility & contrast

On white

1.97
#98C840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#98C840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C840
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C840#FFFFFF#000000##000000
##98C8401.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2C
Deuteranopia (green-blind)
#CCB84B
Tritanopia (blue-blind)
#9EBFAD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #98c840;
/* rgb */ color: rgb(152, 200, 64);
/* oklch */ color: oklch(77.3% 0.170 126.9);
Tailwind
colors: {
  custom: {
    50: '#bad97c',
    500: '#98c840',
    950: '#000000',
  },
}
SCSS
$custom: #98c840;
$custom-light: #bad97c;
$custom-dark: #000000;
JSON
{
  "hex": "#98c840",
  "rgb": {
    "r": 152,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 81.176,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77275,
    "c": 0.17009,
    "h": 126.9
  },
  "luminance": 0.48354
}

Semantic roles & 50–950 ramp

primary
#98C840
secondary
#A994D0
accent
#49DF7E
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #98C840

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

Preview Lab → · Contrast checker → · Palette generator →

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