#9ECF3C#9ECF3C

#9ECF3C is a light, vivid yellow-green. Relative luminance 0.522; OKLCH L 79.3% C 0.179 H 126.4°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#9ECF3C
RGBrgb(158, 207, 60)
HSLhsl(80, 60%, 52%)
HSVhsv(80, 71%, 81%)
CMYKcmyk(23.7%, 0%, 71%, 18.8%)
CIE-LABlab(77.41, -36.81, 64.13)
CIE-LCHlch(77.41, 73.94, 119.85°)
OKLaboklab(79.28% -0.1059 0.1437)
OKLCHoklch(79.28% 0.179 126.4)
XYZxyz(37.2291, 52.2204, 12.3922)
Luminance0.5222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECF3C #6D3CCF
analogous
#CFB73C #9ECF3C #55CF3C
triadic
#9ECF3C #3C9ECF #CF3C9E
tetradic
#9ECF3C #3CCFB7 #6D3CCF #CF3C55
square
#9ECF3C #3CCFB7 #6D3CCF #CF3C55
split-complementary
#9ECF3C #3C55CF #B73CCF
monochromatic
#57741D #7CA529 #9ECF3C #B6DB6D #CFE79E

Accessibility & contrast

On white

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

On black

11.44
#9ECF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECF3C
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECF3C#FFFFFF#000000##000000
##9ECF3C1.001.8311.4411.44
#FFFFFF1.831.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC122
Deuteranopia (green-blind)
#D3BE49
Tritanopia (blue-blind)
#A4C5B2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #9ecf3c;
/* rgb */ color: rgb(158, 207, 60);
/* oklch */ color: oklch(79.3% 0.179 126.4);
Tailwind
colors: {
  custom: {
    50: '#bede7b',
    500: '#9ecf3c',
    950: '#000000',
  },
}
SCSS
$custom: #9ecf3c;
$custom-light: #bede7b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecf3c",
  "rgb": {
    "r": 158,
    "g": 207,
    "b": 60
  },
  "hsl": {
    "h": 80,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79278,
    "c": 0.17852,
    "h": 126.4
  },
  "luminance": 0.52221
}

Semantic roles & 50–950 ramp

primary
#9ECF3C
secondary
#4B337D
accent
#44E479
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9ECF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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