#9CA87F#9CA87F

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

Color values

HEX#9CA87F
RGBrgb(156, 168, 127)
HSLhsl(78, 19%, 58%)
HSVhsv(78, 24%, 66%)
CMYKcmyk(7.1%, 0%, 24.4%, 34.1%)
CIE-LABlab(66.98, -11.50, 19.82)
CIE-LCHlch(66.98, 22.92, 120.12°)
OKLaboklab(71.12% -0.0304 0.0503)
OKLCHoklch(71.12% 0.059 121.2)
XYZxyz(31.5433, 36.6055, 25.4784)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA87F #8B7FA8
analogous
#A89F7F #9CA87F #87A87F
triadic
#9CA87F #7F9CA8 #A87F9C
tetradic
#9CA87F #7FA89F #8B7FA8 #A87F87
square
#9CA87F #7FA89F #8B7FA8 #A87F87
split-complementary
#9CA87F #7F87A8 #9F7FA8
monochromatic
#5D6746 #7E8B5F #9CA87F #B8C1A3 #D4DAC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA87F#FFFFFF#000000##000000
##9CA87F1.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)
#ADA37C
Deuteranopia (green-blind)
#ACA381
Tritanopia (blue-blind)
#A0A49D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9ca87f;
/* rgb */ color: rgb(156, 168, 127);
/* oklch */ color: oklch(71.1% 0.059 121.2);
Tailwind
colors: {
  custom: {
    50: '#b9c1a4',
    500: '#9ca87f',
    950: '#000000',
  },
}
SCSS
$custom: #9ca87f;
$custom-light: #b9c1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca87f",
  "rgb": {
    "r": 156,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 77.561,
    "s": 19.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.71124,
    "c": 0.05876,
    "h": 121.2
  },
  "luminance": 0.36605
}

Semantic roles & 50–950 ramp

primary
#9CA87F
secondary
#BEB9CA
accent
#6CBC83
background
#FBFBFA
surface
#F6F7F4
border
#D0D0CE
text
#11120F
muted
#80817F

Preview Lab

Preview with #9CA87F

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

Preview Lab → · Contrast checker → · Palette generator →

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