#A2B487#A2B487

#A2B487 is a light, moderate yellow-green. Relative luminance 0.421; OKLCH L 74.4% C 0.065 H 125.7°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#A2B487
RGBrgb(162, 180, 135)
HSLhsl(84, 23%, 62%)
HSVhsv(84, 25%, 71%)
CMYKcmyk(10%, 0%, 25%, 29.4%)
CIE-LABlab(70.92, -14.26, 20.94)
CIE-LCHlch(70.92, 25.34, 124.25°)
OKLaboklab(74.42% -0.0381 0.0531)
OKLCHoklch(74.42% 0.065 125.7)
XYZxyz(35.5942, 42.0730, 29.1627)
Luminance0.4207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B487 #9987B4
analogous
#B4B087 #A2B487 #8CB487
triadic
#A2B487 #87A2B4 #B487A2
tetradic
#A2B487 #87B4B0 #9987B4 #B4878C
square
#A2B487 #87B4B0 #9987B4 #B4878C
split-complementary
#A2B487 #878CB4 #B087B4
monochromatic
#65774A #859C62 #A2B487 #BFCCAD #DCE3D2

Accessibility & contrast

On white

2.23
#A2B487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#A2B487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B487
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B487#FFFFFF#000000##000000
##A2B4871.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AE84
Deuteranopia (green-blind)
#B6AD89
Tritanopia (blue-blind)
#A5B0A8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b487;
/* rgb */ color: rgb(162, 180, 135);
/* oklch */ color: oklch(74.4% 0.065 125.7);
Tailwind
colors: {
  custom: {
    50: '#becaaa',
    500: '#a2b487',
    950: '#000000',
  },
}
SCSS
$custom: #a2b487;
$custom-light: #becaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b487",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 135
  },
  "hsl": {
    "h": 84,
    "s": 23.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.74423,
    "c": 0.06536,
    "h": 125.7
  },
  "luminance": 0.42073
}

Semantic roles & 50–950 ramp

primary
#A2B487
secondary
#CAC3D4
accent
#44A269
background
#FBFCFA
surface
#F6F8F4
border
#D0D1CE
text
#121310
muted
#81827F

Preview Lab

Preview with #A2B487

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

Preview Lab → · Contrast checker → · Palette generator →

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