#9EC840#9EC840

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

Color values

HEX#9EC840
RGBrgb(158, 200, 64)
HSLhsl(79, 55%, 52%)
HSVhsv(79, 68%, 78%)
CMYKcmyk(21%, 0%, 68%, 21.6%)
CIE-LABlab(75.42, -33.36, 60.63)
CIE-LCHlch(75.42, 69.20, 118.82°)
OKLaboklab(77.67% -0.0961 0.137)
OKLCHoklch(77.67% 0.167 125)
XYZxyz(35.6805, 48.9474, 12.4175)
Luminance0.4895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC840 #6A40C8
analogous
#C8AE40 #9EC840 #5AC840
triadic
#9EC840 #409EC8 #C8409E
tetradic
#9EC840 #40C8AE #6A40C8 #C8405A
square
#9EC840 #40C8AE #6A40C8 #C8405A
split-complementary
#9EC840 #405AC8 #AE40C8
monochromatic
#566E20 #7B9D2D #9EC840 #B6D670 #CEE39F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EC840#FFFFFF#000000##000000
##9EC8401.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)
#D3BB2C
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#A5BFAD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #9ec840;
/* rgb */ color: rgb(158, 200, 64);
/* oklch */ color: oklch(77.7% 0.167 125.0);
Tailwind
colors: {
  custom: {
    50: '#bed87c',
    500: '#9ec840',
    950: '#000000',
  },
}
SCSS
$custom: #9ec840;
$custom-light: #bed87c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec840",
  "rgb": {
    "r": 158,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 78.529,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77672,
    "c": 0.16731,
    "h": 125
  },
  "luminance": 0.48948
}

Semantic roles & 50–950 ramp

primary
#9EC840
secondary
#A694D0
accent
#49DF77
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9EC840

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

Preview Lab → · Contrast checker → · Palette generator →

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