#9EC240#9EC240

#9EC240 is a light, vivid yellow-green. Relative luminance 0.462; OKLCH L 76.3% C 0.160 H 123.5°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#9EC240
RGBrgb(158, 194, 64)
HSLhsl(77, 52%, 51%)
HSVhsv(77, 67%, 76%)
CMYKcmyk(18.6%, 0%, 67%, 23.9%)
CIE-LABlab(73.69, -30.55, 58.85)
CIE-LCHlch(73.69, 66.31, 117.44°)
OKLaboklab(76.28% -0.0883 0.1332)
OKLCHoklch(76.28% 0.16 123.5)
XYZxyz(34.3181, 46.2226, 11.9634)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC240 #6440C2
analogous
#C2A540 #9EC240 #5DC240
triadic
#9EC240 #409EC2 #C2409E
tetradic
#9EC240 #40C2A5 #6440C2 #C2405D
square
#9EC240 #40C2A5 #6440C2 #C2405D
split-complementary
#9EC240 #405DC2 #A540C2
monochromatic
#536721 #799530 #9EC240 #B6D16E #CDE09D

Accessibility & contrast

On white

2.05
#9EC240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#9EC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC240
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC240#FFFFFF#000000##000000
##9EC2401.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62D
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#A5B9A8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9ec240;
/* rgb */ color: rgb(158, 194, 64);
/* oklch */ color: oklch(76.3% 0.160 123.5);
Tailwind
colors: {
  custom: {
    50: '#bed47c',
    500: '#9ec240',
    950: '#000000',
  },
}
SCSS
$custom: #9ec240;
$custom-light: #bed47c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec240",
  "rgb": {
    "r": 158,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 76.615,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76275,
    "c": 0.15985,
    "h": 123.5
  },
  "luminance": 0.46223
}

Semantic roles & 50–950 ramp

primary
#9EC240
secondary
#A292CC
accent
#4DDB74
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9EC240

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

Preview Lab → · Contrast checker → · Palette generator →

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