#A2B271#A2B271

#A2B271 is a light, moderate yellow-green. Relative luminance 0.407; OKLCH L 73.5% C 0.089 H 119.9°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#A2B271
RGBrgb(162, 178, 113)
HSLhsl(75, 30%, 57%)
HSVhsv(75, 37%, 70%)
CMYKcmyk(9%, 0%, 36.5%, 30.2%)
CIE-LABlab(69.98, -16.34, 31.41)
CIE-LCHlch(69.98, 35.41, 117.48°)
OKLaboklab(73.54% -0.0446 0.0775)
OKLCHoklch(73.54% 0.089 119.9)
XYZxyz(33.8013, 40.7145, 21.6976)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B271 #8171B2
analogous
#B2A171 #A2B271 #82B271
triadic
#A2B271 #71A2B2 #B271A2
tetradic
#A2B271 #71B2A1 #8171B2 #B27182
square
#A2B271 #71B2A1 #8171B2 #B27182
split-complementary
#A2B271 #7182B2 #A171B2
monochromatic
#616D3B #849551 #A2B271 #BCC899 #D6DDC0

Accessibility & contrast

On white

2.30
#A2B271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#A2B271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B271
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B271#FFFFFF#000000##000000
##A2B2711.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAB6C
Deuteranopia (green-blind)
#B8AB74
Tritanopia (blue-blind)
#A8ACA2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b271;
/* rgb */ color: rgb(162, 178, 113);
/* oklch */ color: oklch(73.5% 0.089 119.9);
Tailwind
colors: {
  custom: {
    50: '#bec99a',
    500: '#a2b271',
    950: '#000000',
  },
}
SCSS
$custom: #a2b271;
$custom-light: #bec99a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b271",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 74.769,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.73542,
    "c": 0.08936,
    "h": 119.9
  },
  "luminance": 0.40714
}

Semantic roles & 50–950 ramp

primary
#A2B271
secondary
#B9B2CD
accent
#62C67B
background
#FBFCF9
surface
#F7F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #A2B271

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

Preview Lab → · Contrast checker → · Palette generator →

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