#A2B172#A2B172

#A2B172 is a light, moderate yellow-green. Relative luminance 0.403; OKLCH L 73.3% C 0.087 H 119.5°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A2B172
RGBrgb(162, 177, 114)
HSLhsl(74, 29%, 57%)
HSVhsv(74, 36%, 69%)
CMYKcmyk(8.5%, 0%, 35.6%, 30.6%)
CIE-LABlab(69.71, -15.70, 30.54)
CIE-LCHlch(69.71, 34.34, 117.20°)
OKLaboklab(73.34% -0.0427 0.0755)
OKLCHoklch(73.34% 0.087 119.5)
XYZxyz(33.6596, 40.3407, 21.9296)
Luminance0.4034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B172 #8172B1
analogous
#B1A172 #A2B172 #83B172
triadic
#A2B172 #72A2B1 #B172A2
tetradic
#A2B172 #72B1A1 #8172B1 #B17283
square
#A2B172 #72B1A1 #8172B1 #B17283
split-complementary
#A2B172 #7283B1 #A172B1
monochromatic
#616D3C #849452 #A2B172 #BCC799 #D6DDC1

Accessibility & contrast

On white

2.32
#A2B172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#A2B172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B172
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B172#FFFFFF#000000##000000
##A2B1721.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AA6E
Deuteranopia (green-blind)
#B7AB75
Tritanopia (blue-blind)
#A8ABA1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b172;
/* rgb */ color: rgb(162, 177, 114);
/* oklch */ color: oklch(73.3% 0.087 119.5);
Tailwind
colors: {
  custom: {
    50: '#bec89b',
    500: '#a2b172',
    950: '#000000',
  },
}
SCSS
$custom: #a2b172;
$custom-light: #bec89b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b172",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 114
  },
  "hsl": {
    "h": 74.286,
    "s": 28.767,
    "l": 57.059
  },
  "oklch": {
    "l": 0.73336,
    "c": 0.08672,
    "h": 119.5
  },
  "luminance": 0.40341
}

Semantic roles & 50–950 ramp

primary
#A2B172
secondary
#B9B3CC
accent
#63C57A
background
#FBFCF9
surface
#F7F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #A2B172

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

Preview Lab → · Contrast checker → · Palette generator →

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