#9EC540#9EC540

#9EC540 is a light, vivid yellow-green. Relative luminance 0.476; OKLCH L 77.0% C 0.164 H 124.3°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#9EC540
RGBrgb(158, 197, 64)
HSLhsl(78, 53%, 51%)
HSVhsv(78, 68%, 77%)
CMYKcmyk(19.8%, 0%, 67.5%, 22.7%)
CIE-LABlab(74.55, -31.96, 59.74)
CIE-LCHlch(74.55, 67.75, 118.15°)
OKLaboklab(76.97% -0.0922 0.1351)
OKLCHoklch(76.97% 0.164 124.3)
XYZxyz(34.9925, 47.5715, 12.1882)
Luminance0.4757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC540 #6740C5
analogous
#C5A940 #9EC540 #5BC540
triadic
#9EC540 #409EC5 #C5409E
tetradic
#9EC540 #40C5A9 #6740C5 #C5405B
square
#9EC540 #40C5A9 #6740C5 #C5405B
split-complementary
#9EC540 #405BC5 #A940C5
monochromatic
#556A20 #7A992F #9EC540 #B6D36F #CEE29E

Accessibility & contrast

On white

2.00
#9EC540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#9EC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC540
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC540#FFFFFF#000000##000000
##9EC5401.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92D
Deuteranopia (green-blind)
#CBB74B
Tritanopia (blue-blind)
#A5BCAA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #9ec540;
/* rgb */ color: rgb(158, 197, 64);
/* oklch */ color: oklch(77.0% 0.164 124.3);
Tailwind
colors: {
  custom: {
    50: '#bed67c',
    500: '#9ec540',
    950: '#000000',
  },
}
SCSS
$custom: #9ec540;
$custom-light: #bed67c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec540",
  "rgb": {
    "r": 158,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 77.594,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76973,
    "c": 0.16358,
    "h": 124.3
  },
  "luminance": 0.47572
}

Semantic roles & 50–950 ramp

primary
#9EC540
secondary
#A493CE
accent
#4BDD76
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9EC540

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

Preview Lab → · Contrast checker → · Palette generator →

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