#9ECF54#9ECF54

#9ECF54 is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.5% C 0.161 H 127.9°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#9ECF54
RGBrgb(158, 207, 84)
HSLhsl(84, 56%, 57%)
HSVhsv(84, 59%, 81%)
CMYKcmyk(23.7%, 0%, 59.4%, 18.8%)
CIE-LABlab(77.60, -35.06, 54.70)
CIE-LCHlch(77.60, 64.97, 122.66°)
OKLaboklab(79.49% -0.099 0.127)
OKLCHoklch(79.49% 0.161 127.9)
XYZxyz(38.0135, 52.5341, 16.5231)
Luminance0.5253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECF54 #8554CF
analogous
#CFC254 #9ECF54 #61CF54
triadic
#9ECF54 #549ECF #CF549E
tetradic
#9ECF54 #54CFC2 #8554CF #CF5461
square
#9ECF54 #54CFC2 #8554CF #CF5461
split-complementary
#9ECF54 #5461CF #C254CF
monochromatic
#5E8425 #80B332 #9ECF54 #B9DC84 #D4EAB4

Accessibility & contrast

On white

1.82
#9ECF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#9ECF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECF54
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECF54#FFFFFF#000000##000000
##9ECF541.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C246
Deuteranopia (green-blind)
#D2BF5D
Tritanopia (blue-blind)
#A3C6B5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #9ecf54;
/* rgb */ color: rgb(158, 207, 84);
/* oklch */ color: oklch(79.5% 0.161 127.9);
Tailwind
colors: {
  custom: {
    50: '#bdde89',
    500: '#9ecf54',
    950: '#000000',
  },
}
SCSS
$custom: #9ecf54;
$custom-light: #bdde89;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecf54",
  "rgb": {
    "r": 158,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 83.902,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79489,
    "c": 0.16102,
    "h": 127.9
  },
  "luminance": 0.52535
}

Semantic roles & 50–950 ramp

primary
#9ECF54
secondary
#5C3C8B
accent
#48DF85
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #9ECF54

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

Preview Lab → · Contrast checker → · Palette generator →

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