#A5B987#A5B987

#A5B987 is a light, moderate yellow-green. Relative luminance 0.444; OKLCH L 75.8% C 0.072 H 125.8°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#A5B987
RGBrgb(165, 185, 135)
HSLhsl(84, 26%, 63%)
HSVhsv(84, 27%, 73%)
CMYKcmyk(10.8%, 0%, 27%, 27.5%)
CIE-LABlab(72.53, -15.71, 23.17)
CIE-LCHlch(72.53, 27.99, 124.14°)
OKLaboklab(75.76% -0.0421 0.0585)
OKLCHoklch(75.76% 0.072 125.8)
XYZxyz(37.2386, 44.4463, 29.5341)
Luminance0.4445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B987 #9B87B9
analogous
#B9B487 #A5B987 #8CB987
triadic
#A5B987 #87A5B9 #B987A5
tetradic
#A5B987 #87B9B4 #9B87B9 #B9878C
square
#A5B987 #87B9B4 #9B87B9 #B9878C
split-complementary
#A5B987 #878CB9 #B487B9
monochromatic
#687D49 #88A260 #A5B987 #C2D0AE #DFE6D4

Accessibility & contrast

On white

2.12
#A5B987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#A5B987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B987
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B987#FFFFFF#000000##000000
##A5B9871.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB384
Deuteranopia (green-blind)
#BCB289
Tritanopia (blue-blind)
#A8B4AC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a5b987;
/* rgb */ color: rgb(165, 185, 135);
/* oklch */ color: oklch(75.8% 0.072 125.8);
Tailwind
colors: {
  custom: {
    50: '#c0ceaa',
    500: '#a5b987',
    950: '#000000',
  },
}
SCSS
$custom: #a5b987;
$custom-light: #c0ceaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b987",
  "rgb": {
    "r": 165,
    "g": 185,
    "b": 135
  },
  "hsl": {
    "h": 84,
    "s": 26.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.75756,
    "c": 0.0721,
    "h": 125.8
  },
  "luminance": 0.44447
}

Semantic roles & 50–950 ramp

primary
#A5B987
secondary
#CCC5D7
accent
#41A569
background
#FBFCFA
surface
#F7F9F4
border
#D0D2CE
text
#121310
muted
#81827F

Preview Lab

Preview with #A5B987

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

Preview Lab → · Contrast checker → · Palette generator →

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