#9ED542#9ED542

#9ED542 is a light, vivid yellow-green. Relative luminance 0.553; OKLCH L 80.7% C 0.182 H 127.8°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#9ED542
RGBrgb(158, 213, 66)
HSLhsl(82, 64%, 55%)
HSVhsv(82, 69%, 84%)
CMYKcmyk(25.8%, 0%, 69%, 16.5%)
CIE-LABlab(79.19, -39.12, 63.72)
CIE-LCHlch(79.19, 74.78, 121.55°)
OKLaboklab(80.73% -0.1117 0.1438)
OKLCHoklch(80.73% 0.182 127.8)
XYZxyz(38.8782, 55.2501, 13.7692)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ED542 #7942D5
analogous
#D5C242 #9ED542 #55D542
triadic
#9ED542 #429ED5 #D5429E
tetradic
#9ED542 #42D5C2 #7942D5 #D54255
square
#9ED542 #42D5C2 #7942D5 #D54255
split-complementary
#9ED542 #4255D5 #C242D5
monochromatic
#5B801C #7EB228 #9ED542 #B8E074 #D1EBA6

Accessibility & contrast

On white

1.74
#9ED542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#9ED542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ED542
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ED542#FFFFFF#000000##000000
##9ED5421.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62B
Deuteranopia (green-blind)
#D8C34F
Tritanopia (blue-blind)
#A3CCB8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #9ed542;
/* rgb */ color: rgb(158, 213, 66);
/* oklch */ color: oklch(80.7% 0.182 127.8);
Tailwind
colors: {
  custom: {
    50: '#bfe27f',
    500: '#9ed542',
    950: '#000000',
  },
}
SCSS
$custom: #9ed542;
$custom-light: #bfe27f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ed542",
  "rgb": {
    "r": 158,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 82.449,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80728,
    "c": 0.18207,
    "h": 127.8
  },
  "luminance": 0.55251
}

Semantic roles & 50–950 ramp

primary
#9ED542
secondary
#533487
accent
#41E77F
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #9ED542

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

Preview Lab → · Contrast checker → · Palette generator →

#9ED542 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva