#9EC742#9EC742

#9EC742 is a light, vivid yellow-green. Relative luminance 0.485; OKLCH L 77.5% C 0.165 H 124.9°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#9EC742
RGBrgb(158, 199, 66)
HSLhsl(78, 54%, 52%)
HSVhsv(78, 67%, 78%)
CMYKcmyk(20.6%, 0%, 66.8%, 22%)
CIE-LABlab(75.14, -32.76, 59.57)
CIE-LCHlch(75.14, 67.98, 118.81°)
OKLaboklab(77.46% -0.0942 0.135)
OKLCHoklch(77.46% 0.165 124.9)
XYZxyz(35.5076, 48.5089, 12.6457)
Luminance0.4851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC742 #6B42C7
analogous
#C7AE42 #9EC742 #5CC742
triadic
#9EC742 #429EC7 #C7429E
tetradic
#9EC742 #42C7AE #6B42C7 #C7425C
square
#9EC742 #42C7AE #6B42C7 #C7425C
split-complementary
#9EC742 #425CC7 #AE42C7
monochromatic
#566E21 #7B9D2F #9EC742 #B6D571 #CEE3A0

Accessibility & contrast

On white

1.96
#9EC742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#9EC742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC742
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC742#FFFFFF#000000##000000
##9EC7421.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA2F
Deuteranopia (green-blind)
#CCB94D
Tritanopia (blue-blind)
#A5BEAC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #9ec742;
/* rgb */ color: rgb(158, 199, 66);
/* oklch */ color: oklch(77.5% 0.165 124.9);
Tailwind
colors: {
  custom: {
    50: '#bed87d',
    500: '#9ec742',
    950: '#000000',
  },
}
SCSS
$custom: #9ec742;
$custom-light: #bed87d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec742",
  "rgb": {
    "r": 158,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 78.496,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77455,
    "c": 0.16467,
    "h": 124.9
  },
  "luminance": 0.48509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9EC742

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

Preview Lab → · Contrast checker → · Palette generator →

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