#9EB178#9EB178

#9EB178 is a light, moderate yellow-green. Relative luminance 0.401; OKLCH L 73.1% C 0.081 H 123.4°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#9EB178
RGBrgb(158, 177, 120)
HSLhsl(80, 27%, 58%)
HSVhsv(80, 32%, 69%)
CMYKcmyk(10.7%, 0%, 32.2%, 30.6%)
CIE-LABlab(69.52, -16.44, 27.05)
CIE-LCHlch(69.52, 31.66, 121.29°)
OKLaboklab(73.14% -0.0445 0.0675)
OKLCHoklch(73.14% 0.081 123.4)
XYZxyz(33.2126, 40.0694, 23.7501)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB178 #8B78B1
analogous
#B1A778 #9EB178 #81B178
triadic
#9EB178 #789EB1 #B1789E
tetradic
#9EB178 #78B1A7 #8B78B1 #B17881
square
#9EB178 #78B1A7 #8B78B1 #B17881
split-complementary
#9EB178 #7881B1 #A778B1
monochromatic
#5F6F40 #809556 #9EB178 #BAC79F #D6DEC6

Accessibility & contrast

On white

2.33
#9EB178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#9EB178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB178
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB178#FFFFFF#000000##000000
##9EB1781.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA74
Deuteranopia (green-blind)
#B5AA7B
Tritanopia (blue-blind)
#A2ACA2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9eb178;
/* rgb */ color: rgb(158, 177, 120);
/* oklch */ color: oklch(73.1% 0.081 123.4);
Tailwind
colors: {
  custom: {
    50: '#bbc89f',
    500: '#9eb178',
    950: '#000000',
  },
}
SCSS
$custom: #9eb178;
$custom-light: #bbc89f;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb178",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 120
  },
  "hsl": {
    "h": 80,
    "s": 26.761,
    "l": 58.235
  },
  "oklch": {
    "l": 0.73142,
    "c": 0.08082,
    "h": 123.4
  },
  "luminance": 0.40069
}

Semantic roles & 50–950 ramp

primary
#9EB178
secondary
#BFB7CE
accent
#65C384
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #9EB178

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

Preview Lab → · Contrast checker → · Palette generator →

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