#9EC340#9EC340

#9EC340 is a light, vivid yellow-green. Relative luminance 0.467; OKLCH L 76.5% C 0.161 H 123.8°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#9EC340
RGBrgb(158, 195, 64)
HSLhsl(77, 52%, 51%)
HSVhsv(77, 67%, 76%)
CMYKcmyk(19%, 0%, 67.2%, 23.5%)
CIE-LABlab(73.98, -31.02, 59.14)
CIE-LCHlch(73.98, 66.79, 117.68°)
OKLaboklab(76.51% -0.0896 0.1339)
OKLCHoklch(76.51% 0.161 123.8)
XYZxyz(34.5414, 46.6692, 12.0378)
Luminance0.4667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC340 #6540C3
analogous
#C3A740 #9EC340 #5CC340
triadic
#9EC340 #409EC3 #C3409E
tetradic
#9EC340 #40C3A7 #6540C3 #C3405C
square
#9EC340 #40C3A7 #6540C3 #C3405C
split-complementary
#9EC340 #405CC3 #A740C3
monochromatic
#546821 #79972F #9EC340 #B6D26F #CDE09D

Accessibility & contrast

On white

2.03
#9EC340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#9EC340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC340
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC340#FFFFFF#000000##000000
##9EC3401.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72D
Deuteranopia (green-blind)
#C9B64A
Tritanopia (blue-blind)
#A5BAA9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9ec340;
/* rgb */ color: rgb(158, 195, 64);
/* oklch */ color: oklch(76.5% 0.161 123.8);
Tailwind
colors: {
  custom: {
    50: '#bed57c',
    500: '#9ec340',
    950: '#000000',
  },
}
SCSS
$custom: #9ec340;
$custom-light: #bed57c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec340",
  "rgb": {
    "r": 158,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 76.947,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76507,
    "c": 0.1611,
    "h": 123.8
  },
  "luminance": 0.46669
}

Semantic roles & 50–950 ramp

primary
#9EC340
secondary
#A392CC
accent
#4CDC75
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9EC340

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

Preview Lab → · Contrast checker → · Palette generator →

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