#9EC271#9EC271

#9EC271 is a light, moderate yellow-green. Relative luminance 0.470; OKLCH L 76.9% C 0.115 H 128.4°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#9EC271
RGBrgb(158, 194, 113)
HSLhsl(87, 40%, 60%)
HSVhsv(87, 42%, 76%)
CMYKcmyk(18.6%, 0%, 41.8%, 23.9%)
CIE-LABlab(74.22, -25.86, 36.81)
CIE-LCHlch(74.22, 44.99, 125.09°)
OKLaboklab(76.87% -0.0712 0.0899)
OKLCHoklch(76.87% 0.115 128.4)
XYZxyz(36.3726, 47.0444, 22.7838)
Luminance0.4704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC271 #9571C2
analogous
#C2BD71 #9EC271 #75C271
triadic
#9EC271 #719EC2 #C2719E
tetradic
#9EC271 #71C2BD #9571C2 #C27175
square
#9EC271 #71C2BD #9571C2 #C27175
split-complementary
#9EC271 #7175C2 #BD71C2
monochromatic
#608137 #80AC4A #9EC271 #BBD49C #D8E7C7

Accessibility & contrast

On white

2.02
#9EC271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#9EC271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC271
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC271#FFFFFF#000000##000000
##9EC2711.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B86B
Deuteranopia (green-blind)
#C4B675
Tritanopia (blue-blind)
#A1BBAE
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9ec271;
/* rgb */ color: rgb(158, 194, 113);
/* oklch */ color: oklch(76.9% 0.115 128.4);
Tailwind
colors: {
  custom: {
    50: '#bcd49b',
    500: '#9ec271',
    950: '#000000',
  },
}
SCSS
$custom: #9ec271;
$custom-light: #bcd49b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec271",
  "rgb": {
    "r": 158,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 86.667,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.76872,
    "c": 0.11467,
    "h": 128.4
  },
  "luminance": 0.47045
}

Semantic roles & 50–950 ramp

primary
#9EC271
secondary
#C6B8D7
accent
#33B36C
background
#FBFDF9
surface
#F6FAF2
border
#D0D3CC
text
#12140E
muted
#81837E

Preview Lab

Preview with #9EC271

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

Preview Lab → · Contrast checker → · Palette generator →

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