#9AB987#9AB987

#9AB987 is a light, moderate yellow-green. Relative luminance 0.433; OKLCH L 75.0% C 0.077 H 133.9°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#9AB987
RGBrgb(154, 185, 135)
HSLhsl(97, 26%, 63%)
HSVhsv(97, 27%, 73%)
CMYKcmyk(16.8%, 0%, 27%, 27.5%)
CIE-LABlab(71.77, -19.77, 22.01)
CIE-LCHlch(71.77, 29.59, 131.93°)
OKLaboklab(74.96% -0.0535 0.0557)
OKLCHoklch(74.96% 0.077 133.9)
XYZxyz(35.0477, 43.3166, 29.4314)
Luminance0.4332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB987 #A687B9
analogous
#B3B987 #9AB987 #87B98D
triadic
#9AB987 #879AB9 #B9879A
tetradic
#9AB987 #87B3B9 #A687B9 #B98D87
square
#9AB987 #87B3B9 #A687B9 #B98D87
split-complementary
#9AB987 #8D87B9 #B987B3
monochromatic
#5D7D49 #79A260 #9AB987 #BBD0AE #DBE6D4

Accessibility & contrast

On white

2.17
#9AB987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#9AB987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB987
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB987#FFFFFF#000000##000000
##9AB9871.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDB284
Deuteranopia (green-blind)
#B8AF89
Tritanopia (blue-blind)
#9AB5AC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #9ab987;
/* rgb */ color: rgb(154, 185, 135);
/* oklch */ color: oklch(75.0% 0.077 133.9);
Tailwind
colors: {
  custom: {
    50: '#b8ceaa',
    500: '#9ab987',
    950: '#000000',
  },
}
SCSS
$custom: #9ab987;
$custom-light: #b8ceaa;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab987",
  "rgb": {
    "r": 154,
    "g": 185,
    "b": 135
  },
  "hsl": {
    "h": 97.2,
    "s": 26.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.7496,
    "c": 0.07727,
    "h": 133.9
  },
  "luminance": 0.43317
}

Semantic roles & 50–950 ramp

primary
#9AB987
secondary
#D0C5D7
accent
#41A57F
background
#FBFCFA
surface
#F6F9F4
border
#D0D2CE
text
#111310
muted
#80827F

Preview Lab

Preview with #9AB987

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

Preview Lab → · Contrast checker → · Palette generator →

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