#9EC542#9EC542

#9EC542 is a light, vivid yellow-green. Relative luminance 0.476; OKLCH L 77.0% C 0.162 H 124.4°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#9EC542
RGBrgb(158, 197, 66)
HSLhsl(78, 53%, 52%)
HSVhsv(78, 66%, 77%)
CMYKcmyk(19.8%, 0%, 66.5%, 22.7%)
CIE-LABlab(74.57, -31.83, 58.97)
CIE-LCHlch(74.57, 67.01, 118.36°)
OKLaboklab(76.99% -0.0917 0.1338)
OKLCHoklch(76.99% 0.162 124.4)
XYZxyz(35.0504, 47.5946, 12.4933)
Luminance0.4759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC542 #6942C5
analogous
#C5AB42 #9EC542 #5DC542
triadic
#9EC542 #429EC5 #C5429E
tetradic
#9EC542 #42C5AB #6942C5 #C5425D
square
#9EC542 #42C5AB #6942C5 #C5425D
split-complementary
#9EC542 #425DC5 #AB42C5
monochromatic
#556C21 #7B9A2F #9EC542 #B6D371 #CEE2A0

Accessibility & contrast

On white

2.00
#9EC542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#9EC542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC542
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC542#FFFFFF#000000##000000
##9EC5421.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B930
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#A5BCAA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #9ec542;
/* rgb */ color: rgb(158, 197, 66);
/* oklch */ color: oklch(77.0% 0.162 124.4);
Tailwind
colors: {
  custom: {
    50: '#bed67d',
    500: '#9ec542',
    950: '#000000',
  },
}
SCSS
$custom: #9ec542;
$custom-light: #bed67d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec542",
  "rgb": {
    "r": 158,
    "g": 197,
    "b": 66
  },
  "hsl": {
    "h": 77.863,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76989,
    "c": 0.16217,
    "h": 124.4
  },
  "luminance": 0.47595
}

Semantic roles & 50–950 ramp

primary
#9EC542
secondary
#A695CE
accent
#4BDC77
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9EC542

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

Preview Lab → · Contrast checker → · Palette generator →

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