#9ECE42#9ECE42

#9ECE42 is a light, vivid yellow-green. Relative luminance 0.518; OKLCH L 79.1% C 0.173 H 126.5°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#9ECE42
RGBrgb(158, 206, 66)
HSLhsl(81, 59%, 53%)
HSVhsv(81, 68%, 81%)
CMYKcmyk(23.3%, 0%, 68%, 19.2%)
CIE-LABlab(77.16, -35.98, 61.66)
CIE-LCHlch(77.16, 71.38, 120.26°)
OKLaboklab(79.09% -0.1031 0.1394)
OKLCHoklch(79.09% 0.173 126.5)
XYZxyz(37.1553, 51.8045, 13.1949)
Luminance0.5181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECE42 #7242CE
analogous
#CEB842 #9ECE42 #58CE42
triadic
#9ECE42 #429ECE #CE429E
tetradic
#9ECE42 #42CEB8 #7242CE #CE4258
square
#9ECE42 #42CEB8 #7242CE #CE4258
split-complementary
#9ECE42 #4258CE #B842CE
monochromatic
#59771F #7DA72B #9ECE42 #B7DB73 #D0E7A3

Accessibility & contrast

On white

1.85
#9ECE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#9ECE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECE42
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECE42#FFFFFF#000000##000000
##9ECE421.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C02D
Deuteranopia (green-blind)
#D2BE4E
Tritanopia (blue-blind)
#A4C5B2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #9ece42;
/* rgb */ color: rgb(158, 206, 66);
/* oklch */ color: oklch(79.1% 0.173 126.5);
Tailwind
colors: {
  custom: {
    50: '#bedd7e',
    500: '#9ece42',
    950: '#000000',
  },
}
SCSS
$custom: #9ece42;
$custom-light: #bedd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ece42",
  "rgb": {
    "r": 158,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 80.571,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79089,
    "c": 0.17339,
    "h": 126.5
  },
  "luminance": 0.51805
}

Semantic roles & 50–950 ramp

primary
#9ECE42
secondary
#4E357F
accent
#46E27B
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9ECE42

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

Preview Lab → · Contrast checker → · Palette generator →

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