#9ECF45#9ECF45

#9ECF45 is a light, vivid yellow-green. Relative luminance 0.523; OKLCH L 79.3% C 0.173 H 126.9°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#9ECF45
RGBrgb(158, 207, 69)
HSLhsl(81, 59%, 54%)
HSVhsv(81, 67%, 81%)
CMYKcmyk(23.7%, 0%, 66.7%, 18.8%)
CIE-LABlab(77.47, -36.23, 60.81)
CIE-LCHlch(77.47, 70.79, 120.78°)
OKLaboklab(79.35% -0.1035 0.1381)
OKLCHoklch(79.35% 0.173 126.9)
XYZxyz(37.4876, 52.3238, 13.7535)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECF45 #7645CF
analogous
#CFBB45 #9ECF45 #59CF45
triadic
#9ECF45 #459ECF #CF459E
tetradic
#9ECF45 #45CFBB #7645CF #CF4559
square
#9ECF45 #45CFBB #7645CF #CF4559
split-complementary
#9ECF45 #4559CF #BB45CF
monochromatic
#5A7A20 #7EAB2C #9ECF45 #B7DC76 #D1E8A6

Accessibility & contrast

On white

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

On black

11.46
#9ECF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECF45
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECF45#FFFFFF#000000##000000
##9ECF451.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C131
Deuteranopia (green-blind)
#D3BF50
Tritanopia (blue-blind)
#A4C6B3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #9ecf45;
/* rgb */ color: rgb(158, 207, 69);
/* oklch */ color: oklch(79.3% 0.173 126.9);
Tailwind
colors: {
  custom: {
    50: '#bede80',
    500: '#9ecf45',
    950: '#000000',
  },
}
SCSS
$custom: #9ecf45;
$custom-light: #bede80;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecf45",
  "rgb": {
    "r": 158,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 81.304,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79348,
    "c": 0.17257,
    "h": 126.9
  },
  "luminance": 0.52324
}

Semantic roles & 50–950 ramp

primary
#9ECF45
secondary
#513682
accent
#46E27D
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9ECF45

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

Preview Lab → · Contrast checker → · Palette generator →

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