#9ECF4B#9ECF4B

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

Color values

HEX#9ECF4B
RGBrgb(158, 207, 75)
HSLhsl(82, 58%, 55%)
HSVhsv(82, 64%, 81%)
CMYKcmyk(23.7%, 0%, 63.8%, 18.8%)
CIE-LABlab(77.52, -35.79, 58.45)
CIE-LCHlch(77.52, 68.53, 121.48°)
OKLaboklab(79.4% -0.1018 0.1339)
OKLCHoklch(79.4% 0.168 127.2)
XYZxyz(37.6834, 52.4021, 14.7845)
Luminance0.5240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECF4B #7C4BCF
analogous
#CFBE4B #9ECF4B #5CCF4B
triadic
#9ECF4B #4B9ECF #CF4B9E
tetradic
#9ECF4B #4BCFBE #7C4BCF #CF4B5C
square
#9ECF4B #4BCFBE #7C4BCF #CF4B5C
split-complementary
#9ECF4B #4B5CCF #BE4BCF
monochromatic
#5C7E22 #7FAE2E #9ECF4B #B8DC7B #D2E9AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9ECF4B#FFFFFF#000000##000000
##9ECF4B1.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)
#D9C23A
Deuteranopia (green-blind)
#D2BF55
Tritanopia (blue-blind)
#A4C6B4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #9ecf4b;
/* rgb */ color: rgb(158, 207, 75);
/* oklch */ color: oklch(79.4% 0.168 127.2);
Tailwind
colors: {
  custom: {
    50: '#bede83',
    500: '#9ecf4b',
    950: '#000000',
  },
}
SCSS
$custom: #9ecf4b;
$custom-light: #bede83;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecf4b",
  "rgb": {
    "r": 158,
    "g": 207,
    "b": 75
  },
  "hsl": {
    "h": 82.273,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.794,
    "c": 0.16819,
    "h": 127.2
  },
  "luminance": 0.52403
}

Semantic roles & 50–950 ramp

primary
#9ECF4B
secondary
#553986
accent
#47E180
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9ECF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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