#A5B87F#A5B87F

#A5B87F is a light, moderate yellow-green. Relative luminance 0.438; OKLCH L 75.4% C 0.080 H 123.3°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#A5B87F
RGBrgb(165, 184, 127)
HSLhsl(80, 29%, 61%)
HSVhsv(80, 31%, 72%)
CMYKcmyk(10.3%, 0%, 31%, 27.8%)
CIE-LABlab(72.10, -16.36, 26.86)
CIE-LCHlch(72.10, 31.45, 121.35°)
OKLaboklab(75.37% -0.0441 0.0672)
OKLCHoklch(75.37% 0.08 123.3)
XYZxyz(36.4880, 43.8125, 26.6090)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B87F #927FB8
analogous
#B8AE7F #A5B87F #88B87F
triadic
#A5B87F #7FA5B8 #B87FA5
tetradic
#A5B87F #7FB8AE #927FB8 #B87F88
square
#A5B87F #7FB8AE #927FB8 #B87F88
split-complementary
#A5B87F #7F88B8 #AE7FB8
monochromatic
#677943 #89A159 #A5B87F #C1CEA6 #DCE4CE

Accessibility & contrast

On white

2.15
#A5B87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#A5B87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B87F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B87F#FFFFFF#000000##000000
##A5B87F1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB17B
Deuteranopia (green-blind)
#BCB182
Tritanopia (blue-blind)
#A9B2A9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5b87f;
/* rgb */ color: rgb(165, 184, 127);
/* oklch */ color: oklch(75.4% 0.080 123.3);
Tailwind
colors: {
  custom: {
    50: '#c0cda4',
    500: '#a5b87f',
    950: '#000000',
  },
}
SCSS
$custom: #a5b87f;
$custom-light: #c0cda4;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b87f",
  "rgb": {
    "r": 165,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 80,
    "s": 28.643,
    "l": 60.98
  },
  "oklch": {
    "l": 0.75371,
    "c": 0.08039,
    "h": 123.3
  },
  "luminance": 0.43813
}

Semantic roles & 50–950 ramp

primary
#A5B87F
secondary
#C6BFD4
accent
#3EA761
background
#FBFCFA
surface
#F7F9F4
border
#D0D2CE
text
#12130F
muted
#81827F

Preview Lab

Preview with #A5B87F

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

Preview Lab → · Contrast checker → · Palette generator →

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