#A2B187#A2B187

#A2B187 is a light, moderate yellow-green. Relative luminance 0.409; OKLCH L 73.8% C 0.061 H 123.8°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#A2B187
RGBrgb(162, 177, 135)
HSLhsl(81, 21%, 61%)
HSVhsv(81, 24%, 69%)
CMYKcmyk(8.5%, 0%, 23.7%, 30.6%)
CIE-LABlab(70.09, -12.70, 19.80)
CIE-LCHlch(70.09, 23.53, 122.68°)
OKLaboklab(73.76% -0.0337 0.0503)
OKLCHoklch(73.76% 0.061 123.8)
XYZxyz(34.9951, 40.8749, 28.9630)
Luminance0.4088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B187 #9687B1
analogous
#B1AB87 #A2B187 #8DB187
triadic
#A2B187 #87A2B1 #B187A2
tetradic
#A2B187 #87B1AB #9687B1 #B1878D
square
#A2B187 #87B1AB #9687B1 #B1878D
split-complementary
#A2B187 #878DB1 #AB87B1
monochromatic
#65734B #859863 #A2B187 #BFC9AC #DBE1D1

Accessibility & contrast

On white

2.29
#A2B187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#A2B187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B187
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B187#FFFFFF#000000##000000
##A2B1871.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AC84
Deuteranopia (green-blind)
#B4AB89
Tritanopia (blue-blind)
#A5ADA6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b187;
/* rgb */ color: rgb(162, 177, 135);
/* oklch */ color: oklch(73.8% 0.061 123.8);
Tailwind
colors: {
  custom: {
    50: '#bec8aa',
    500: '#a2b187',
    950: '#000000',
  },
}
SCSS
$custom: #a2b187;
$custom-light: #bec8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b187",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 135
  },
  "hsl": {
    "h": 81.429,
    "s": 21.212,
    "l": 61.176
  },
  "oklch": {
    "l": 0.7376,
    "c": 0.06059,
    "h": 123.8
  },
  "luminance": 0.40875
}

Semantic roles & 50–950 ramp

primary
#A2B187
secondary
#C8C2D2
accent
#46A066
background
#FBFCFA
surface
#F6F8F4
border
#D0D1CE
text
#121310
muted
#81827F

Preview Lab

Preview with #A2B187

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

Preview Lab → · Contrast checker → · Palette generator →

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