#9EC142#9EC142

#9EC142 is a light, vivid yellow-green. Relative luminance 0.458; OKLCH L 76.1% C 0.157 H 123.4°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#9EC142
RGBrgb(158, 193, 66)
HSLhsl(77, 51%, 51%)
HSVhsv(77, 66%, 76%)
CMYKcmyk(18.1%, 0%, 65.8%, 24.3%)
CIE-LABlab(73.42, -29.95, 57.76)
CIE-LCHlch(73.42, 65.06, 117.40°)
OKLaboklab(76.06% -0.0865 0.1312)
OKLCHoklch(76.06% 0.157 123.4)
XYZxyz(34.1542, 45.8022, 12.1946)
Luminance0.4580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC142 #6542C1
analogous
#C1A442 #9EC142 #5EC142
triadic
#9EC142 #429EC1 #C1429E
tetradic
#9EC142 #42C1A4 #6542C1 #C1425E
square
#9EC142 #42C1A4 #6542C1 #C1425E
split-complementary
#9EC142 #425EC1 #A442C1
monochromatic
#546722 #799531 #9EC142 #B6D070 #CDDF9E

Accessibility & contrast

On white

2.07
#9EC142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#9EC142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC142
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC142#FFFFFF#000000##000000
##9EC1421.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB531
Deuteranopia (green-blind)
#C7B44C
Tritanopia (blue-blind)
#A5B8A7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #9ec142;
/* rgb */ color: rgb(158, 193, 66);
/* oklch */ color: oklch(76.1% 0.157 123.4);
Tailwind
colors: {
  custom: {
    50: '#bed37d',
    500: '#9ec142',
    950: '#000000',
  },
}
SCSS
$custom: #9ec142;
$custom-light: #bed37d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec142",
  "rgb": {
    "r": 158,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 76.535,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76059,
    "c": 0.15717,
    "h": 123.4
  },
  "luminance": 0.45802
}

Semantic roles & 50–950 ramp

primary
#9EC142
secondary
#A393CC
accent
#4EDA74
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #9EC142

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

Preview Lab → · Contrast checker → · Palette generator →

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