#9EC842#9EC842

#9EC842 is a light, vivid yellow-green. Relative luminance 0.490; OKLCH L 77.7% C 0.166 H 125.1°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#9EC842
RGBrgb(158, 200, 66)
HSLhsl(79, 55%, 52%)
HSVhsv(79, 67%, 78%)
CMYKcmyk(21%, 0%, 67%, 21.6%)
CIE-LABlab(75.43, -33.22, 59.87)
CIE-LCHlch(75.43, 68.47, 119.03°)
OKLaboklab(77.69% -0.0955 0.1357)
OKLCHoklch(77.69% 0.166 125.1)
XYZxyz(35.7384, 48.9706, 12.7226)
Luminance0.4897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC842 #6C42C8
analogous
#C8AF42 #9EC842 #5BC842
triadic
#9EC842 #429EC8 #C8429E
tetradic
#9EC842 #42C8AF #6C42C8 #C8425B
square
#9EC842 #42C8AF #6C42C8 #C8425B
split-complementary
#9EC842 #425BC8 #AF42C8
monochromatic
#576F20 #7B9F2E #9EC842 #B6D671 #CFE4A1

Accessibility & contrast

On white

1.95
#9EC842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#9EC842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC842
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC842#FFFFFF#000000##000000
##9EC8421.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2F
Deuteranopia (green-blind)
#CDB94D
Tritanopia (blue-blind)
#A5BFAD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #9ec842;
/* rgb */ color: rgb(158, 200, 66);
/* oklch */ color: oklch(77.7% 0.166 125.1);
Tailwind
colors: {
  custom: {
    50: '#bed87d',
    500: '#9ec842',
    950: '#000000',
  },
}
SCSS
$custom: #9ec842;
$custom-light: #bed87d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec842",
  "rgb": {
    "r": 158,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 78.806,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77688,
    "c": 0.16591,
    "h": 125.1
  },
  "luminance": 0.48971
}

Semantic roles & 50–950 ramp

primary
#9EC842
secondary
#A896D0
accent
#4ADE78
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9EC842

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

Preview Lab → · Contrast checker → · Palette generator →

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