#9EC640#9EC640

#9EC640 is a light, vivid yellow-green. Relative luminance 0.480; OKLCH L 77.2% C 0.165 H 124.6°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#9EC640
RGBrgb(158, 198, 64)
HSLhsl(78, 54%, 51%)
HSVhsv(78, 68%, 78%)
CMYKcmyk(20.2%, 0%, 67.7%, 22.4%)
CIE-LABlab(74.84, -32.43, 60.04)
CIE-LCHlch(74.84, 68.23, 118.38°)
OKLaboklab(77.21% -0.0935 0.1357)
OKLCHoklch(77.21% 0.165 124.6)
XYZxyz(35.2203, 48.0271, 12.2641)
Luminance0.4803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC640 #6840C6
analogous
#C6AB40 #9EC640 #5BC640
triadic
#9EC640 #409EC6 #C6409E
tetradic
#9EC640 #40C6AB #6840C6 #C6405B
square
#9EC640 #40C6AB #6840C6 #C6405B
split-complementary
#9EC640 #405BC6 #AB40C6
monochromatic
#556C20 #7A9B2E #9EC640 #B6D46F #CEE29E

Accessibility & contrast

On white

1.98
#9EC640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#9EC640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC640
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC640#FFFFFF#000000##000000
##9EC6401.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2C
Deuteranopia (green-blind)
#CBB84B
Tritanopia (blue-blind)
#A5BDAB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #9ec640;
/* rgb */ color: rgb(158, 198, 64);
/* oklch */ color: oklch(77.2% 0.165 124.6);
Tailwind
colors: {
  custom: {
    50: '#bed77c',
    500: '#9ec640',
    950: '#000000',
  },
}
SCSS
$custom: #9ec640;
$custom-light: #bed77c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec640",
  "rgb": {
    "r": 158,
    "g": 198,
    "b": 64
  },
  "hsl": {
    "h": 77.91,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77206,
    "c": 0.16483,
    "h": 124.6
  },
  "luminance": 0.48027
}

Semantic roles & 50–950 ramp

primary
#9EC640
secondary
#A593CE
accent
#4ADD76
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9EC640

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

Preview Lab → · Contrast checker → · Palette generator →

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