#ABB987#ABB987

#ABB987 is a light, moderate yellow-green. Relative luminance 0.451; OKLCH L 76.2% C 0.070 H 120.8°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#ABB987
RGBrgb(171, 185, 135)
HSLhsl(77, 26%, 63%)
HSVhsv(77, 27%, 73%)
CMYKcmyk(7.6%, 0%, 27%, 27.5%)
CIE-LABlab(72.96, -13.45, 23.83)
CIE-LCHlch(72.96, 27.36, 119.44°)
OKLaboklab(76.21% -0.0358 0.0601)
OKLCHoklch(76.21% 0.07 120.8)
XYZxyz(38.5163, 45.1052, 29.5940)
Luminance0.4511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB987 #9587B9
analogous
#B9AE87 #ABB987 #92B987
triadic
#ABB987 #87ABB9 #B987AB
tetradic
#ABB987 #87B9AE #9587B9 #B98792
square
#ABB987 #87B9AE #9587B9 #B98792
split-complementary
#ABB987 #8792B9 #AE87B9
monochromatic
#6E7D49 #90A260 #ABB987 #C6D0AE #E1E6D4

Accessibility & contrast

On white

2.10
#ABB987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#ABB987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB987
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB987#FFFFFF#000000##000000
##ABB9871.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB384
Deuteranopia (green-blind)
#BEB389
Tritanopia (blue-blind)
#AFB4AC
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #abb987;
/* rgb */ color: rgb(171, 185, 135);
/* oklch */ color: oklch(76.2% 0.070 120.8);
Tailwind
colors: {
  custom: {
    50: '#c4ceaa',
    500: '#abb987',
    950: '#000000',
  },
}
SCSS
$custom: #abb987;
$custom-light: #c4ceaa;
$custom-dark: #000000;
JSON
{
  "hex": "#abb987",
  "rgb": {
    "r": 171,
    "g": 185,
    "b": 135
  },
  "hsl": {
    "h": 76.8,
    "s": 26.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.76212,
    "c": 0.06994,
    "h": 120.8
  },
  "luminance": 0.45105
}

Semantic roles & 50–950 ramp

primary
#ABB987
secondary
#CAC5D7
accent
#41A55D
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#121310
muted
#81827F

Preview Lab

Preview with #ABB987

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

Preview Lab → · Contrast checker → · Palette generator →

#ABB987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva