#A8B87F#A8B87F

#A8B87F is a light, moderate yellow-green. Relative luminance 0.441; OKLCH L 75.6% C 0.079 H 121.1°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#A8B87F
RGBrgb(168, 184, 127)
HSLhsl(77, 29%, 61%)
HSVhsv(77, 31%, 72%)
CMYKcmyk(8.7%, 0%, 31%, 27.8%)
CIE-LABlab(72.32, -15.22, 27.19)
CIE-LCHlch(72.32, 31.16, 119.24°)
OKLaboklab(75.6% -0.0409 0.068)
OKLCHoklch(75.6% 0.079 121.1)
XYZxyz(37.1194, 44.1381, 26.6386)
Luminance0.4414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B87F #8F7FB8
analogous
#B8AB7F #A8B87F #8BB87F
triadic
#A8B87F #7FA8B8 #B87FA8
tetradic
#A8B87F #7FB8AB #8F7FB8 #B87F8B
square
#A8B87F #7FB8AB #8F7FB8 #B87F8B
split-complementary
#A8B87F #7F8BB8 #AB7FB8
monochromatic
#6A7943 #8DA159 #A8B87F #C3CEA6 #DEE4CE

Accessibility & contrast

On white

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

On black

9.83
#A8B87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B87F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B87F#FFFFFF#000000##000000
##A8B87F1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b87f;
/* rgb */ color: rgb(168, 184, 127);
/* oklch */ color: oklch(75.6% 0.079 121.1);
Tailwind
colors: {
  custom: {
    50: '#c2cda4',
    500: '#a8b87f',
    950: '#000000',
  },
}
SCSS
$custom: #a8b87f;
$custom-light: #c2cda4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b87f",
  "rgb": {
    "r": 168,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 76.842,
    "s": 28.643,
    "l": 60.98
  },
  "oklch": {
    "l": 0.756,
    "c": 0.07933,
    "h": 121.1
  },
  "luminance": 0.44138
}

Semantic roles & 50–950 ramp

primary
#A8B87F
secondary
#C5BFD4
accent
#3EA75C
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#12130F
muted
#81827F

Preview Lab

Preview with #A8B87F

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

Preview Lab → · Contrast checker → · Palette generator →

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