#A5B787#A5B787

#A5B787 is a light, moderate yellow-green. Relative luminance 0.436; OKLCH L 75.3% C 0.069 H 124.7°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#A5B787
RGBrgb(165, 183, 135)
HSLhsl(83, 25%, 62%)
HSVhsv(83, 26%, 72%)
CMYKcmyk(9.8%, 0%, 26.2%, 28.2%)
CIE-LABlab(71.97, -14.68, 22.41)
CIE-LCHlch(71.97, 26.79, 123.23°)
OKLaboklab(75.31% -0.0393 0.0567)
OKLCHoklch(75.31% 0.069 124.7)
XYZxyz(36.8232, 43.6154, 29.3957)
Luminance0.4362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B787 #9987B7
analogous
#B7B187 #A5B787 #8DB787
triadic
#A5B787 #87A5B7 #B787A5
tetradic
#A5B787 #87B7B1 #9987B7 #B7878D
square
#A5B787 #87B7B1 #9987B7 #B7878D
split-complementary
#A5B787 #878DB7 #B187B7
monochromatic
#687A49 #88A061 #A5B787 #C2CEAD #DEE5D4

Accessibility & contrast

On white

2.16
#A5B787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#A5B787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B787
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B787#FFFFFF#000000##000000
##A5B7871.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDB184
Deuteranopia (green-blind)
#BAB089
Tritanopia (blue-blind)
#A8B2AA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a5b787;
/* rgb */ color: rgb(165, 183, 135);
/* oklch */ color: oklch(75.3% 0.069 124.7);
Tailwind
colors: {
  custom: {
    50: '#c0ccaa',
    500: '#a5b787',
    950: '#000000',
  },
}
SCSS
$custom: #a5b787;
$custom-light: #c0ccaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b787",
  "rgb": {
    "r": 165,
    "g": 183,
    "b": 135
  },
  "hsl": {
    "h": 82.5,
    "s": 25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.75313,
    "c": 0.06895,
    "h": 124.7
  },
  "luminance": 0.43616
}

Semantic roles & 50–950 ramp

primary
#A5B787
secondary
#CBC4D6
accent
#42A467
background
#FBFCFA
surface
#F7F8F4
border
#D0D1CE
text
#121310
muted
#81827F

Preview Lab

Preview with #A5B787

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

Preview Lab → · Contrast checker → · Palette generator →

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