#9DB978#9DB978

#9DB978 is a light, moderate yellow-green. Relative luminance 0.432; OKLCH L 74.9% C 0.094 H 127.5°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#9DB978
RGBrgb(157, 185, 120)
HSLhsl(86, 32%, 60%)
HSVhsv(86, 35%, 73%)
CMYKcmyk(15.1%, 0%, 35.1%, 27.5%)
CIE-LABlab(71.71, -20.88, 29.93)
CIE-LCHlch(71.71, 36.49, 124.90°)
OKLaboklab(74.87% -0.0569 0.0743)
OKLCHoklch(74.87% 0.094 127.5)
XYZxyz(34.6433, 43.2218, 24.2832)
Luminance0.4322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB978 #9478B9
analogous
#B9B478 #9DB978 #7DB978
triadic
#9DB978 #789DB9 #B9789D
tetradic
#9DB978 #78B9B4 #9478B9 #B9787D
square
#9DB978 #78B9B4 #9478B9 #B9787D
split-complementary
#9DB978 #787DB9 #B478B9
monochromatic
#5F783E #7FA153 #9DB978 #BACEA0 #D8E3C9

Accessibility & contrast

On white

2.18
#9DB978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#9DB978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB978
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB978#FFFFFF#000000##000000
##9DB9781.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB173
Deuteranopia (green-blind)
#BBAF7B
Tritanopia (blue-blind)
#A0B3A8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #9db978;
/* rgb */ color: rgb(157, 185, 120);
/* oklch */ color: oklch(74.9% 0.094 127.5);
Tailwind
colors: {
  custom: {
    50: '#bbce9f',
    500: '#9db978',
    950: '#000000',
  },
}
SCSS
$custom: #9db978;
$custom-light: #bbce9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9db978",
  "rgb": {
    "r": 157,
    "g": 185,
    "b": 120
  },
  "hsl": {
    "h": 85.846,
    "s": 31.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.74873,
    "c": 0.09355,
    "h": 127.5
  },
  "luminance": 0.43222
}

Semantic roles & 50–950 ramp

primary
#9DB978
secondary
#C5BAD3
accent
#60C88D
background
#FBFCF9
surface
#F6F9F2
border
#D0D2CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #9DB978

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

Preview Lab → · Contrast checker → · Palette generator →

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