#9ECA20#9ECA20

#9ECA20 is a light, vivid yellow-green. Relative luminance 0.496; OKLCH L 78.0% C 0.186 H 124.3°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#9ECA20
RGBrgb(158, 202, 32)
HSLhsl(76, 73%, 46%)
HSVhsv(76, 84%, 79%)
CMYKcmyk(21.8%, 0%, 84.2%, 20.8%)
CIE-LABlab(75.83, -35.81, 70.97)
CIE-LCHlch(75.83, 79.49, 116.77°)
OKLaboklab(77.95% -0.1051 0.1538)
OKLCHoklch(77.95% 0.186 124.3)
XYZxyz(35.4822, 49.6141, 9.0734)
Luminance0.4961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECA20 #4C20CA
analogous
#CAA120 #9ECA20 #49CA20
triadic
#9ECA20 #209ECA #CA209E
tetradic
#9ECA20 #20CAA1 #4C20CA #CA2049
square
#9ECA20 #20CAA1 #4C20CA #CA2049
split-complementary
#9ECA20 #2049CA #A120CA
monochromatic
#4B600F #759518 #9ECA20 #B9E246 #CDEA7A

Accessibility & contrast

On white

1.92
#9ECA20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#9ECA20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECA20
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECA20#FFFFFF#000000##000000
##9ECA201.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BC00
Deuteranopia (green-blind)
#D0BA35
Tritanopia (blue-blind)
#A6C0AC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9eca20;
/* rgb */ color: rgb(158, 202, 32);
/* oklch */ color: oklch(78.0% 0.186 124.3);
Tailwind
colors: {
  custom: {
    50: '#bfda6e',
    500: '#9eca20',
    950: '#000000',
  },
}
SCSS
$custom: #9eca20;
$custom-light: #bfda6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9eca20",
  "rgb": {
    "r": 158,
    "g": 202,
    "b": 32
  },
  "hsl": {
    "h": 75.529,
    "s": 72.65,
    "l": 45.882
  },
  "oklch": {
    "l": 0.77954,
    "c": 0.1863,
    "h": 124.3
  },
  "luminance": 0.49614
}

Semantic roles & 50–950 ramp

primary
#9ECA20
secondary
#8C74D2
accent
#38EF68
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #9ECA20

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

Preview Lab → · Contrast checker → · Palette generator →

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