#98C541#98C541

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

Color values

HEX#98C541
RGBrgb(152, 197, 65)
HSLhsl(80, 53%, 51%)
HSVhsv(80, 67%, 77%)
CMYKcmyk(22.8%, 0%, 67%, 22.7%)
CIE-LABlab(74.18, -34.24, 58.84)
CIE-LCHlch(74.18, 68.08, 120.19°)
OKLaboklab(76.58% -0.098 0.1335)
OKLCHoklch(76.58% 0.166 126.3)
XYZxyz(33.8694, 46.9890, 12.2854)
Luminance0.4699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C541 #6E41C5
analogous
#C5B041 #98C541 #56C541
triadic
#98C541 #4198C5 #C54198
tetradic
#98C541 #41C5B0 #6E41C5 #C54156
square
#98C541 #41C5B0 #6E41C5 #C54156
split-complementary
#98C541 #4156C5 #B041C5
monochromatic
#526B21 #759A2F #98C541 #B1D370 #CBE29F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98C541#FFFFFF#000000##000000
##98C5411.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)
#CFB82E
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#9EBCAA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #98c541;
/* rgb */ color: rgb(152, 197, 65);
/* oklch */ color: oklch(76.6% 0.166 126.3);
Tailwind
colors: {
  custom: {
    50: '#bad67c',
    500: '#98c541',
    950: '#000000',
  },
}
SCSS
$custom: #98c541;
$custom-light: #bad67c;
$custom-dark: #000000;
JSON
{
  "hex": "#98c541",
  "rgb": {
    "r": 152,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 80.455,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76577,
    "c": 0.16562,
    "h": 126.3
  },
  "luminance": 0.4699
}

Semantic roles & 50–950 ramp

primary
#98C541
secondary
#A894CE
accent
#4BDD7D
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #98C541

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

Preview Lab → · Contrast checker → · Palette generator →

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