#A7B87F#A7B87F

#A7B87F is a light, moderate yellow-green. Relative luminance 0.440; OKLCH L 75.5% C 0.080 H 121.8°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#A7B87F
RGBrgb(167, 184, 127)
HSLhsl(78, 29%, 61%)
HSVhsv(78, 31%, 72%)
CMYKcmyk(9.2%, 0%, 31%, 27.8%)
CIE-LABlab(72.25, -15.60, 27.08)
CIE-LCHlch(72.25, 31.25, 119.95°)
OKLaboklab(75.52% -0.042 0.0677)
OKLCHoklch(75.52% 0.08 121.8)
XYZxyz(36.9073, 44.0288, 26.6286)
Luminance0.4403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B87F #907FB8
analogous
#B8AC7F #A7B87F #8AB87F
triadic
#A7B87F #7FA7B8 #B87FA7
tetradic
#A7B87F #7FB8AC #907FB8 #B87F8A
square
#A7B87F #7FB8AC #907FB8 #B87F8A
split-complementary
#A7B87F #7F8AB8 #AC7FB8
monochromatic
#697943 #8BA159 #A7B87F #C2CEA6 #DDE4CE

Accessibility & contrast

On white

2.14
#A7B87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#A7B87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B87F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B87F#FFFFFF#000000##000000
##A7B87F1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7b87f;
/* rgb */ color: rgb(167, 184, 127);
/* oklch */ color: oklch(75.5% 0.080 121.8);
Tailwind
colors: {
  custom: {
    50: '#c1cda4',
    500: '#a7b87f',
    950: '#000000',
  },
}
SCSS
$custom: #a7b87f;
$custom-light: #c1cda4;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b87f",
  "rgb": {
    "r": 167,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 77.895,
    "s": 28.643,
    "l": 60.98
  },
  "oklch": {
    "l": 0.75523,
    "c": 0.07967,
    "h": 121.8
  },
  "luminance": 0.44029
}

Semantic roles & 50–950 ramp

primary
#A7B87F
secondary
#C5BFD4
accent
#3EA75E
background
#FBFCFA
surface
#F7F9F4
border
#D0D2CE
text
#12130F
muted
#81827F

Preview Lab

Preview with #A7B87F

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

Preview Lab → · Contrast checker → · Palette generator →

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