#9ECF4A#9ECF4A

#9ECF4A is a light, vivid yellow-green. Relative luminance 0.524; OKLCH L 79.4% C 0.169 H 127.2°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#9ECF4A
RGBrgb(158, 207, 74)
HSLhsl(82, 58%, 55%)
HSVhsv(82, 64%, 81%)
CMYKcmyk(23.7%, 0%, 64.3%, 18.8%)
CIE-LABlab(77.51, -35.87, 58.85)
CIE-LCHlch(77.51, 68.92, 121.36°)
OKLaboklab(79.39% -0.1021 0.1346)
OKLCHoklch(79.39% 0.169 127.2)
XYZxyz(37.6494, 52.3885, 14.6057)
Luminance0.5239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECF4A #7B4ACF
analogous
#CFBD4A #9ECF4A #5CCF4A
triadic
#9ECF4A #4A9ECF #CF4A9E
tetradic
#9ECF4A #4ACFBD #7B4ACF #CF4A5C
square
#9ECF4A #4ACFBD #7B4ACF #CF4A5C
split-complementary
#9ECF4A #4A5CCF #BD4ACF
monochromatic
#5B7D21 #7FAE2E #9ECF4A #B8DC7A #D2E9AB

Accessibility & contrast

On white

1.83
#9ECF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#9ECF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECF4A
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECF4A#FFFFFF#000000##000000
##9ECF4A1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C239
Deuteranopia (green-blind)
#D2BF54
Tritanopia (blue-blind)
#A4C6B4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #9ecf4a;
/* rgb */ color: rgb(158, 207, 74);
/* oklch */ color: oklch(79.4% 0.169 127.2);
Tailwind
colors: {
  custom: {
    50: '#bede83',
    500: '#9ecf4a',
    950: '#000000',
  },
}
SCSS
$custom: #9ecf4a;
$custom-light: #bede83;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecf4a",
  "rgb": {
    "r": 158,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 82.105,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79391,
    "c": 0.16894,
    "h": 127.2
  },
  "luminance": 0.52389
}

Semantic roles & 50–950 ramp

primary
#9ECF4A
secondary
#543885
accent
#46E180
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9ECF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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