#9ECA40#9ECA40

#9ECA40 is a light, vivid yellow-green. Relative luminance 0.499; OKLCH L 78.1% C 0.170 H 125.5°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#9ECA40
RGBrgb(158, 202, 64)
HSLhsl(79, 57%, 52%)
HSVhsv(79, 68%, 79%)
CMYKcmyk(21.8%, 0%, 68.3%, 20.8%)
CIE-LABlab(76.00, -34.28, 61.22)
CIE-LCHlch(76.00, 70.16, 119.24°)
OKLaboklab(78.14% -0.0986 0.1382)
OKLCHoklch(78.14% 0.17 125.5)
XYZxyz(36.1467, 49.8799, 12.5729)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECA40 #6C40CA
analogous
#CAB140 #9ECA40 #59CA40
triadic
#9ECA40 #409ECA #CA409E
tetradic
#9ECA40 #40CAB1 #6C40CA #CA4059
square
#9ECA40 #40CAB1 #6C40CA #CA4059
split-complementary
#9ECA40 #4059CA #B140CA
monochromatic
#57701F #7BA02C #9ECA40 #B6D770 #CFE5A0

Accessibility & contrast

On white

1.91
#9ECA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#9ECA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECA40
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECA40#FFFFFF#000000##000000
##9ECA401.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2B
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#A5C1AE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9eca40;
/* rgb */ color: rgb(158, 202, 64);
/* oklch */ color: oklch(78.1% 0.170 125.5);
Tailwind
colors: {
  custom: {
    50: '#beda7c',
    500: '#9eca40',
    950: '#000000',
  },
}
SCSS
$custom: #9eca40;
$custom-light: #beda7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9eca40",
  "rgb": {
    "r": 158,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 79.13,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78139,
    "c": 0.16978,
    "h": 125.5
  },
  "luminance": 0.4988
}

Semantic roles & 50–950 ramp

primary
#9ECA40
secondary
#A895D1
accent
#48E078
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9ECA40

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

Preview Lab → · Contrast checker → · Palette generator →

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