#9ECF48#9ECF48

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

Color values

HEX#9ECF48
RGBrgb(158, 207, 72)
HSLhsl(82, 58%, 55%)
HSVhsv(82, 65%, 81%)
CMYKcmyk(23.7%, 0%, 65.2%, 18.8%)
CIE-LABlab(77.50, -36.01, 59.64)
CIE-LCHlch(77.50, 69.67, 121.12°)
OKLaboklab(79.37% -0.1027 0.136)
OKLCHoklch(79.37% 0.17 127.1)
XYZxyz(37.5831, 52.3620, 14.2564)
Luminance0.5236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECF48 #7948CF
analogous
#CFBD48 #9ECF48 #5ACF48
triadic
#9ECF48 #489ECF #CF489E
tetradic
#9ECF48 #48CFBD #7948CF #CF485A
square
#9ECF48 #48CFBD #7948CF #CF485A
split-complementary
#9ECF48 #485ACF #BD48CF
monochromatic
#5B7C21 #7EAD2D #9ECF48 #B8DC78 #D1E8A9

Accessibility & contrast

On white

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

On black

11.47
#9ECF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECF48
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECF48#FFFFFF#000000##000000
##9ECF481.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ecf48;
/* rgb */ color: rgb(158, 207, 72);
/* oklch */ color: oklch(79.4% 0.170 127.1);
Tailwind
colors: {
  custom: {
    50: '#bede81',
    500: '#9ecf48',
    950: '#000000',
  },
}
SCSS
$custom: #9ecf48;
$custom-light: #bede81;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecf48",
  "rgb": {
    "r": 158,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 81.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79373,
    "c": 0.17042,
    "h": 127.1
  },
  "luminance": 0.52363
}

Semantic roles & 50–950 ramp

primary
#9ECF48
secondary
#533784
accent
#46E27F
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9ECF48

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

Preview Lab → · Contrast checker → · Palette generator →

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