#9EC242#9EC242

#9EC242 is a light, vivid yellow-green. Relative luminance 0.462; OKLCH L 76.3% C 0.158 H 123.6°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#9EC242
RGBrgb(158, 194, 66)
HSLhsl(77, 51%, 51%)
HSVhsv(77, 66%, 76%)
CMYKcmyk(18.6%, 0%, 66%, 23.9%)
CIE-LABlab(73.70, -30.42, 58.06)
CIE-LCHlch(73.70, 65.55, 117.65°)
OKLaboklab(76.29% -0.0878 0.1319)
OKLCHoklch(76.29% 0.158 123.6)
XYZxyz(34.3760, 46.2458, 12.2685)
Luminance0.4625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC242 #6642C2
analogous
#C2A642 #9EC242 #5EC242
triadic
#9EC242 #429EC2 #C2429E
tetradic
#9EC242 #42C2A6 #6642C2 #C2425E
square
#9EC242 #42C2A6 #6642C2 #C2425E
split-complementary
#9EC242 #425EC2 #A642C2
monochromatic
#546822 #7A9631 #9EC242 #B6D170 #CDE09F

Accessibility & contrast

On white

2.05
#9EC242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#9EC242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC242
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC242#FFFFFF#000000##000000
##9EC2421.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB630
Deuteranopia (green-blind)
#C8B54C
Tritanopia (blue-blind)
#A5B9A8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9ec242;
/* rgb */ color: rgb(158, 194, 66);
/* oklch */ color: oklch(76.3% 0.158 123.6);
Tailwind
colors: {
  custom: {
    50: '#bed47d',
    500: '#9ec242',
    950: '#000000',
  },
}
SCSS
$custom: #9ec242;
$custom-light: #bed47d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec242",
  "rgb": {
    "r": 158,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 76.875,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76292,
    "c": 0.15841,
    "h": 123.6
  },
  "luminance": 0.46246
}

Semantic roles & 50–950 ramp

primary
#9EC242
secondary
#A394CC
accent
#4DDB75
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9EC242

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

Preview Lab → · Contrast checker → · Palette generator →

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