#9ECD42#9ECD42

#9ECD42 is a light, vivid yellow-green. Relative luminance 0.513; OKLCH L 78.9% C 0.172 H 126.3°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#9ECD42
RGBrgb(158, 205, 66)
HSLhsl(80, 58%, 53%)
HSVhsv(80, 68%, 80%)
CMYKcmyk(22.9%, 0%, 67.8%, 19.6%)
CIE-LABlab(76.88, -35.52, 61.36)
CIE-LCHlch(76.88, 70.90, 120.07°)
OKLaboklab(78.86% -0.1018 0.1388)
OKLCHoklch(78.86% 0.172 126.3)
XYZxyz(36.9154, 51.3245, 13.1150)
Luminance0.5132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECD42 #7142CD
analogous
#CDB742 #9ECD42 #58CD42
triadic
#9ECD42 #429ECD #CD429E
tetradic
#9ECD42 #42CDB7 #7142CD #CD4258
square
#9ECD42 #42CDB7 #7142CD #CD4258
split-complementary
#9ECD42 #4258CD #B742CD
monochromatic
#58761F #7DA62C #9ECD42 #B7DA72 #D0E7A3

Accessibility & contrast

On white

1.86
#9ECD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#9ECD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECD42
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECD42#FFFFFF#000000##000000
##9ECD421.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#A4C4B1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #9ecd42;
/* rgb */ color: rgb(158, 205, 66);
/* oklch */ color: oklch(78.9% 0.172 126.3);
Tailwind
colors: {
  custom: {
    50: '#bedc7e',
    500: '#9ecd42',
    950: '#000000',
  },
}
SCSS
$custom: #9ecd42;
$custom-light: #bedc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecd42",
  "rgb": {
    "r": 158,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 80.288,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78856,
    "c": 0.17215,
    "h": 126.3
  },
  "luminance": 0.51325
}

Semantic roles & 50–950 ramp

primary
#9ECD42
secondary
#4E357E
accent
#46E17B
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9ECD42

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

Preview Lab → · Contrast checker → · Palette generator →

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