#9EC172#9EC172

#9EC172 is a light, moderate yellow-green. Relative luminance 0.466; OKLCH L 76.7% C 0.112 H 128.3°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#9EC172
RGBrgb(158, 193, 114)
HSLhsl(87, 39%, 60%)
HSVhsv(87, 41%, 76%)
CMYKcmyk(18.1%, 0%, 40.9%, 24.3%)
CIE-LABlab(73.95, -25.25, 35.96)
CIE-LCHlch(73.95, 43.94, 125.08°)
OKLaboklab(76.66% -0.0694 0.088)
OKLCHoklch(76.66% 0.112 128.3)
XYZxyz(36.2074, 46.6235, 23.0080)
Luminance0.4662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC172 #9572C1
analogous
#C1BC72 #9EC172 #77C172
triadic
#9EC172 #729EC1 #C1729E
tetradic
#9EC172 #72C1BC #9572C1 #C17277
square
#9EC172 #72C1BC #9572C1 #C17277
split-complementary
#9EC172 #7277C1 #BC72C1
monochromatic
#608038 #80AB4B #9EC172 #BBD49D #D8E6C7

Accessibility & contrast

On white

2.03
#9EC172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#9EC172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC172
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC172#FFFFFF#000000##000000
##9EC1721.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ec172;
/* rgb */ color: rgb(158, 193, 114);
/* oklch */ color: oklch(76.7% 0.112 128.3);
Tailwind
colors: {
  custom: {
    50: '#bcd39b',
    500: '#9ec172',
    950: '#000000',
  },
}
SCSS
$custom: #9ec172;
$custom-light: #bcd39b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec172",
  "rgb": {
    "r": 158,
    "g": 193,
    "b": 114
  },
  "hsl": {
    "h": 86.582,
    "s": 38.916,
    "l": 60.196
  },
  "oklch": {
    "l": 0.76659,
    "c": 0.11208,
    "h": 128.3
  },
  "luminance": 0.46624
}

Semantic roles & 50–950 ramp

primary
#9EC172
secondary
#C6B8D7
accent
#34B26C
background
#FBFCF9
surface
#F6F9F2
border
#D0D2CC
text
#12140E
muted
#81827E

Preview Lab

Preview with #9EC172

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

Preview Lab → · Contrast checker → · Palette generator →

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