#9ECF40#9ECF40

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

Color values

HEX#9ECF40
RGBrgb(158, 207, 64)
HSLhsl(81, 60%, 53%)
HSVhsv(81, 69%, 81%)
CMYKcmyk(23.7%, 0%, 69.1%, 18.8%)
CIE-LABlab(77.44, -36.56, 62.69)
CIE-LCHlch(77.44, 72.57, 120.25°)
OKLaboklab(79.31% -0.1049 0.1413)
OKLCHoklch(79.31% 0.176 126.6)
XYZxyz(37.3389, 52.2643, 12.9703)
Luminance0.5226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECF40 #7140CF
analogous
#CFB840 #9ECF40 #56CF40
triadic
#9ECF40 #409ECF #CF409E
tetradic
#9ECF40 #40CFB8 #7140CF #CF4056
square
#9ECF40 #40CFB8 #7140CF #CF4056
split-complementary
#9ECF40 #4056CF #B840CF
monochromatic
#58771E #7DA82A #9ECF40 #B7DB71 #D0E8A2

Accessibility & contrast

On white

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

On black

11.45
#9ECF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECF40
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECF40#FFFFFF#000000##000000
##9ECF401.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ecf40;
/* rgb */ color: rgb(158, 207, 64);
/* oklch */ color: oklch(79.3% 0.176 126.6);
Tailwind
colors: {
  custom: {
    50: '#bede7d',
    500: '#9ecf40',
    950: '#000000',
  },
}
SCSS
$custom: #9ecf40;
$custom-light: #bede7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecf40",
  "rgb": {
    "r": 158,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 80.559,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79307,
    "c": 0.17597,
    "h": 126.6
  },
  "luminance": 0.52265
}

Semantic roles & 50–950 ramp

primary
#9ECF40
secondary
#4E347F
accent
#45E37B
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9ECF40

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

Preview Lab → · Contrast checker → · Palette generator →

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