#9EC740#9EC740

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

Color values

HEX#9EC740
RGBrgb(158, 199, 64)
HSLhsl(78, 55%, 52%)
HSVhsv(78, 68%, 78%)
CMYKcmyk(20.6%, 0%, 67.8%, 22%)
CIE-LABlab(75.13, -32.89, 60.33)
CIE-LCHlch(75.13, 68.72, 118.60°)
OKLaboklab(77.44% -0.0948 0.1364)
OKLCHoklch(77.44% 0.166 124.8)
XYZxyz(35.4496, 48.4857, 12.3406)
Luminance0.4849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC740 #6940C7
analogous
#C7AD40 #9EC740 #5BC740
triadic
#9EC740 #409EC7 #C7409E
tetradic
#9EC740 #40C7AD #6940C7 #C7405B
square
#9EC740 #40C7AD #6940C7 #C7405B
split-complementary
#9EC740 #405BC7 #AD40C7
monochromatic
#556D20 #7B9C2E #9EC740 #B6D56F #CEE39F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EC740#FFFFFF#000000##000000
##9EC7401.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)
#D2BA2C
Deuteranopia (green-blind)
#CCB94B
Tritanopia (blue-blind)
#A5BEAC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #9ec740;
/* rgb */ color: rgb(158, 199, 64);
/* oklch */ color: oklch(77.4% 0.166 124.8);
Tailwind
colors: {
  custom: {
    50: '#bed87c',
    500: '#9ec740',
    950: '#000000',
  },
}
SCSS
$custom: #9ec740;
$custom-light: #bed87c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec740",
  "rgb": {
    "r": 158,
    "g": 199,
    "b": 64
  },
  "hsl": {
    "h": 78.222,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77439,
    "c": 0.16606,
    "h": 124.8
  },
  "luminance": 0.48486
}

Semantic roles & 50–950 ramp

primary
#9EC740
secondary
#A694CF
accent
#4ADE77
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9EC740

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

Preview Lab → · Contrast checker → · Palette generator →

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