#9DB178#9DB178

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

Color values

HEX#9DB178
RGBrgb(157, 177, 120)
HSLhsl(81, 27%, 58%)
HSVhsv(81, 32%, 69%)
CMYKcmyk(11.3%, 0%, 32.2%, 30.6%)
CIE-LABlab(69.45, -16.83, 26.95)
CIE-LCHlch(69.45, 31.77, 121.98°)
OKLaboklab(73.07% -0.0455 0.0673)
OKLCHoklch(73.07% 0.081 124.1)
XYZxyz(33.0166, 39.9683, 23.7409)
Luminance0.3997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB178 #8C78B1
analogous
#B1A978 #9DB178 #80B178
triadic
#9DB178 #789DB1 #B1789D
tetradic
#9DB178 #78B1A9 #8C78B1 #B17880
square
#9DB178 #78B1A9 #8C78B1 #B17880
split-complementary
#9DB178 #7880B1 #A978B1
monochromatic
#5E6F40 #7F9556 #9DB178 #B9C79F #D5DEC6

Accessibility & contrast

On white

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

On black

8.99
#9DB178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB178
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB178#FFFFFF#000000##000000
##9DB1781.002.338.998.99
#FFFFFF2.331.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9db178;
/* rgb */ color: rgb(157, 177, 120);
/* oklch */ color: oklch(73.1% 0.081 124.1);
Tailwind
colors: {
  custom: {
    50: '#bac89f',
    500: '#9db178',
    950: '#000000',
  },
}
SCSS
$custom: #9db178;
$custom-light: #bac89f;
$custom-dark: #000000;
JSON
{
  "hex": "#9db178",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 120
  },
  "hsl": {
    "h": 81.053,
    "s": 26.761,
    "l": 58.235
  },
  "oklch": {
    "l": 0.73066,
    "c": 0.0812,
    "h": 124.1
  },
  "luminance": 0.39968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9DB178

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

Preview Lab → · Contrast checker → · Palette generator →

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