#98C340#98C340

#98C340 is a light, vivid yellow-green. Relative luminance 0.461; OKLCH L 76.1% C 0.164 H 125.8°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#98C340
RGBrgb(152, 195, 64)
HSLhsl(80, 52%, 51%)
HSVhsv(80, 67%, 76%)
CMYKcmyk(22.1%, 0%, 67.2%, 23.5%)
CIE-LABlab(73.59, -33.38, 58.63)
CIE-LCHlch(73.59, 67.47, 119.66°)
OKLaboklab(76.1% -0.0958 0.1329)
OKLCHoklch(76.1% 0.164 125.8)
XYZxyz(33.3896, 46.0753, 11.9838)
Luminance0.4608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C340 #6B40C3
analogous
#C3AD40 #98C340 #56C340
triadic
#98C340 #4098C3 #C34098
tetradic
#98C340 #40C3AD #6B40C3 #C34056
square
#98C340 #40C3AD #6B40C3 #C34056
split-complementary
#98C340 #4056C3 #AD40C3
monochromatic
#516821 #75972F #98C340 #B1D26F #CAE09D

Accessibility & contrast

On white

2.06
#98C340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#98C340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C340
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C340#FFFFFF#000000##000000
##98C3401.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62D
Deuteranopia (green-blind)
#C7B44A
Tritanopia (blue-blind)
#9EBAA9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #98c340;
/* rgb */ color: rgb(152, 195, 64);
/* oklch */ color: oklch(76.1% 0.164 125.8);
Tailwind
colors: {
  custom: {
    50: '#bad57c',
    500: '#98c340',
    950: '#000000',
  },
}
SCSS
$custom: #98c340;
$custom-light: #bad57c;
$custom-dark: #000000;
JSON
{
  "hex": "#98c340",
  "rgb": {
    "r": 152,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 79.695,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76099,
    "c": 0.16382,
    "h": 125.8
  },
  "luminance": 0.46076
}

Semantic roles & 50–950 ramp

primary
#98C340
secondary
#A592CC
accent
#4CDC7B
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #98C340

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

Preview Lab → · Contrast checker → · Palette generator →

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