#9DA87B#9DA87B

#9DA87B is a light, moderate yellow-green. Relative luminance 0.366; OKLCH L 71.1% C 0.064 H 119.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#9DA87B
RGBrgb(157, 168, 123)
HSLhsl(75, 21%, 57%)
HSVhsv(75, 27%, 66%)
CMYKcmyk(6.5%, 0%, 26.8%, 34.1%)
CIE-LABlab(66.98, -11.72, 22.02)
CIE-LCHlch(66.98, 24.94, 118.02°)
OKLaboklab(71.12% -0.031 0.0555)
OKLCHoklch(71.12% 0.064 119.2)
XYZxyz(31.4821, 36.6035, 24.1417)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA87B #867BA8
analogous
#A89D7B #9DA87B #87A87B
triadic
#9DA87B #7B9DA8 #A87B9D
tetradic
#9DA87B #7BA89D #867BA8 #A87B87
square
#9DA87B #7BA89D #867BA8 #A87B87
split-complementary
#9DA87B #7B87A8 #9D7BA8
monochromatic
#5D6643 #7F8B5B #9DA87B #B8C0A0 #D4D9C5

Accessibility & contrast

On white

2.52
#9DA87B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#9DA87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA87B
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA87B#FFFFFF#000000##000000
##9DA87B1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA378
Deuteranopia (green-blind)
#ADA37D
Tritanopia (blue-blind)
#A1A39C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9da87b;
/* rgb */ color: rgb(157, 168, 123);
/* oklch */ color: oklch(71.1% 0.064 119.2);
Tailwind
colors: {
  custom: {
    50: '#bac1a1',
    500: '#9da87b',
    950: '#000000',
  },
}
SCSS
$custom: #9da87b;
$custom-light: #bac1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9da87b",
  "rgb": {
    "r": 157,
    "g": 168,
    "b": 123
  },
  "hsl": {
    "h": 74.667,
    "s": 20.548,
    "l": 57.059
  },
  "oklch": {
    "l": 0.71116,
    "c": 0.06363,
    "h": 119.2
  },
  "luminance": 0.36603
}

Semantic roles & 50–950 ramp

primary
#9DA87B
secondary
#BBB6C9
accent
#6BBD7F
background
#FBFBF9
surface
#F6F7F2
border
#D0D0CC
text
#11120F
muted
#80817E

Preview Lab

Preview with #9DA87B

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

Preview Lab → · Contrast checker → · Palette generator →

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