#98C540#98C540

#98C540 is a light, vivid yellow-green. Relative luminance 0.470; OKLCH L 76.6% C 0.166 H 126.2°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#98C540
RGBrgb(152, 197, 64)
HSLhsl(80, 53%, 51%)
HSVhsv(80, 68%, 77%)
CMYKcmyk(22.8%, 0%, 67.5%, 22.7%)
CIE-LABlab(74.18, -34.31, 59.23)
CIE-LCHlch(74.18, 68.45, 120.08°)
OKLaboklab(76.57% -0.0983 0.1342)
OKLCHoklch(76.57% 0.166 126.2)
XYZxyz(33.8407, 46.9776, 12.1342)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C540 #6D40C5
analogous
#C5B040 #98C540 #55C540
triadic
#98C540 #4098C5 #C54098
tetradic
#98C540 #40C5B0 #6D40C5 #C54055
square
#98C540 #40C5B0 #6D40C5 #C54055
split-complementary
#98C540 #4055C5 #B040C5
monochromatic
#516A20 #75992F #98C540 #B1D36F #CBE29E

Accessibility & contrast

On white

2.02
#98C540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#98C540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C540
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C540#FFFFFF#000000##000000
##98C5401.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#C9B64B
Tritanopia (blue-blind)
#9EBCAA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #98c540;
/* rgb */ color: rgb(152, 197, 64);
/* oklch */ color: oklch(76.6% 0.166 126.2);
Tailwind
colors: {
  custom: {
    50: '#bad67c',
    500: '#98c540',
    950: '#000000',
  },
}
SCSS
$custom: #98c540;
$custom-light: #bad67c;
$custom-dark: #000000;
JSON
{
  "hex": "#98c540",
  "rgb": {
    "r": 152,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 80.301,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76569,
    "c": 0.16633,
    "h": 126.2
  },
  "luminance": 0.46978
}

Semantic roles & 50–950 ramp

primary
#98C540
secondary
#A793CE
accent
#4BDD7C
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #98C540

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

Preview Lab → · Contrast checker → · Palette generator →

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