#9ECB72#9ECB72

#9ECB72 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 79.0% C 0.127 H 130.7°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#9ECB72
RGBrgb(158, 203, 114)
HSLhsl(90, 46%, 62%)
HSVhsv(90, 44%, 80%)
CMYKcmyk(22.2%, 0%, 43.8%, 20.4%)
CIE-LABlab(76.80, -30.06, 39.57)
CIE-LCHlch(76.80, 49.69, 127.22°)
OKLaboklab(78.95% -0.0829 0.0962)
OKLCHoklch(78.95% 0.127 130.7)
XYZxyz(38.4932, 51.1951, 23.7699)
Luminance0.5120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECB72 #9F72CB
analogous
#CBCB72 #9ECB72 #72CB73
triadic
#9ECB72 #729ECB #CB729E
tetradic
#9ECB72 #72CBCB #9F72CB #CB7372
square
#9ECB72 #72CBCB #9F72CB #CB7372
split-complementary
#9ECB72 #7372CB #CB72CB
monochromatic
#618E34 #7FBB45 #9ECB72 #BDDB9F #DCECCB

Accessibility & contrast

On white

1.87
#9ECB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#9ECB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECB72
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECB72#FFFFFF#000000##000000
##9ECB721.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C06B
Deuteranopia (green-blind)
#CCBC77
Tritanopia (blue-blind)
#A0C4B6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #9ecb72;
/* rgb */ color: rgb(158, 203, 114);
/* oklch */ color: oklch(79.0% 0.127 130.7);
Tailwind
colors: {
  custom: {
    50: '#bcdb9c',
    500: '#9ecb72',
    950: '#000000',
  },
}
SCSS
$custom: #9ecb72;
$custom-light: #bcdb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecb72",
  "rgb": {
    "r": 158,
    "g": 203,
    "b": 114
  },
  "hsl": {
    "h": 90.337,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.78953,
    "c": 0.12695,
    "h": 130.7
  },
  "luminance": 0.51196
}

Semantic roles & 50–950 ramp

primary
#9ECB72
secondary
#714C95
accent
#2CB974
background
#FDFEFC
surface
#F8FBF5
border
#D1D4CF
text
#12150E
muted
#82847F

Preview Lab

Preview with #9ECB72

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

Preview Lab → · Contrast checker → · Palette generator →

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