#9ECF4F#9ECF4F

#9ECF4F is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.4% C 0.165 H 127.5°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#9ECF4F
RGBrgb(158, 207, 79)
HSLhsl(83, 57%, 56%)
HSVhsv(83, 62%, 81%)
CMYKcmyk(23.7%, 0%, 61.8%, 18.8%)
CIE-LABlab(77.55, -35.48, 56.81)
CIE-LCHlch(77.55, 66.98, 121.98°)
OKLaboklab(79.44% -0.1006 0.1309)
OKLCHoklch(79.44% 0.165 127.5)
XYZxyz(37.8246, 52.4586, 15.5283)
Luminance0.5246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECF4F #804FCF
analogous
#CFC04F #9ECF4F #5ECF4F
triadic
#9ECF4F #4F9ECF #CF4F9E
tetradic
#9ECF4F #4FCFC0 #804FCF #CF4F5E
square
#9ECF4F #4FCFC0 #804FCF #CF4F5E
split-complementary
#9ECF4F #4F5ECF #C04FCF
monochromatic
#5D8123 #7FB130 #9ECF4F #B9DC7F #D3E9AF

Accessibility & contrast

On white

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

On black

11.49
#9ECF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECF4F
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECF4F#FFFFFF#000000##000000
##9ECF4F1.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#D2BF58
Tritanopia (blue-blind)
#A3C6B4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #9ecf4f;
/* rgb */ color: rgb(158, 207, 79);
/* oklch */ color: oklch(79.4% 0.165 127.5);
Tailwind
colors: {
  custom: {
    50: '#bede85',
    500: '#9ecf4f',
    950: '#000000',
  },
}
SCSS
$custom: #9ecf4f;
$custom-light: #bede85;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecf4f",
  "rgb": {
    "r": 158,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 82.969,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79438,
    "c": 0.16509,
    "h": 127.5
  },
  "luminance": 0.52459
}

Semantic roles & 50–950 ramp

primary
#9ECF4F
secondary
#583A88
accent
#47E082
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9ECF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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