#A2B87F#A2B87F

#A2B87F is a light, moderate yellow-green. Relative luminance 0.435; OKLCH L 75.1% C 0.082 H 125.4°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#A2B87F
RGBrgb(162, 184, 127)
HSLhsl(83, 29%, 61%)
HSVhsv(83, 31%, 72%)
CMYKcmyk(12%, 0%, 31%, 27.8%)
CIE-LABlab(71.89, -17.50, 26.54)
CIE-LCHlch(71.89, 31.79, 123.41°)
OKLaboklab(75.15% -0.0473 0.0664)
OKLCHoklch(75.15% 0.082 125.4)
XYZxyz(35.8711, 43.4945, 26.5800)
Luminance0.4350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B87F #957FB8
analogous
#B8B17F #A2B87F #85B87F
triadic
#A2B87F #7FA2B8 #B87FA2
tetradic
#A2B87F #7FB8B1 #957FB8 #B87F85
square
#A2B87F #7FB8B1 #957FB8 #B87F85
split-complementary
#A2B87F #7F85B8 #B17FB8
monochromatic
#647943 #85A159 #A2B87F #BFCEA6 #DBE4CE

Accessibility & contrast

On white

2.17
#A2B87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#A2B87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B87F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B87F#FFFFFF#000000##000000
##A2B87F1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEB17B
Deuteranopia (green-blind)
#BBB082
Tritanopia (blue-blind)
#A6B3A9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a2b87f;
/* rgb */ color: rgb(162, 184, 127);
/* oklch */ color: oklch(75.1% 0.082 125.4);
Tailwind
colors: {
  custom: {
    50: '#becda4',
    500: '#a2b87f',
    950: '#000000',
  },
}
SCSS
$custom: #a2b87f;
$custom-light: #becda4;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b87f",
  "rgb": {
    "r": 162,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 83.158,
    "s": 28.643,
    "l": 60.98
  },
  "oklch": {
    "l": 0.75147,
    "c": 0.08154,
    "h": 125.4
  },
  "luminance": 0.43495
}

Semantic roles & 50–950 ramp

primary
#A2B87F
secondary
#C7BFD4
accent
#3EA767
background
#FBFCFA
surface
#F7F9F4
border
#D0D2CE
text
#12130F
muted
#81827F

Preview Lab

Preview with #A2B87F

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

Preview Lab → · Contrast checker → · Palette generator →

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