#98C54F#98C54F

#98C54F is a light, vivid yellow-green. Relative luminance 0.472; OKLCH L 76.7% C 0.155 H 127.3°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#98C54F
RGBrgb(152, 197, 79)
HSLhsl(83, 50%, 54%)
HSVhsv(83, 60%, 77%)
CMYKcmyk(22.8%, 0%, 59.9%, 22.7%)
CIE-LABlab(74.30, -33.15, 53.11)
CIE-LCHlch(74.30, 62.61, 121.98°)
OKLaboklab(76.71% -0.0938 0.1231)
OKLCHoklch(76.71% 0.155 127.3)
XYZxyz(34.3264, 47.1718, 14.6922)
Luminance0.4717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C54F #7C4FC5
analogous
#C5B74F #98C54F #5DC54F
triadic
#98C54F #4F98C5 #C54F98
tetradic
#98C54F #4FC5B7 #7C4FC5 #C54F5D
square
#98C54F #4FC5B7 #7C4FC5 #C54F5D
split-complementary
#98C54F #4F5DC5 #B74FC5
monochromatic
#567426 #78A235 #98C54F #B3D47D #CEE3AB

Accessibility & contrast

On white

2.01
#98C54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#98C54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C54F
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C54F#FFFFFF#000000##000000
##98C54F1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB942
Deuteranopia (green-blind)
#C8B657
Tritanopia (blue-blind)
#9DBDAC
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #98c54f;
/* rgb */ color: rgb(152, 197, 79);
/* oklch */ color: oklch(76.7% 0.155 127.3);
Tailwind
colors: {
  custom: {
    50: '#b9d685',
    500: '#98c54f',
    950: '#000000',
  },
}
SCSS
$custom: #98c54f;
$custom-light: #b9d685;
$custom-dark: #000000;
JSON
{
  "hex": "#98c54f",
  "rgb": {
    "r": 152,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 82.881,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76709,
    "c": 0.15479,
    "h": 127.3
  },
  "luminance": 0.47172
}

Semantic roles & 50–950 ramp

primary
#98C54F
secondary
#B29FD1
accent
#4EDA83
background
#FBFDF8
surface
#F6FAEF
border
#D0D3CA
text
#12140B
muted
#81837C

Preview Lab

Preview with #98C54F

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

Preview Lab → · Contrast checker → · Palette generator →

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