#A2C171#A2C171

#A2C171 is a light, moderate yellow-green. Relative luminance 0.470; OKLCH L 76.9% C 0.111 H 126.2°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#A2C171
RGBrgb(162, 193, 113)
HSLhsl(83, 39%, 60%)
HSVhsv(83, 41%, 76%)
CMYKcmyk(16.1%, 0%, 41.5%, 24.3%)
CIE-LABlab(74.20, -23.87, 36.84)
CIE-LCHlch(74.20, 43.90, 122.94°)
OKLaboklab(76.92% -0.0658 0.0899)
OKLCHoklch(76.92% 0.111 126.2)
XYZxyz(36.9506, 47.0132, 22.7474)
Luminance0.4701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C171 #9071C1
analogous
#C1B871 #A2C171 #7AC171
triadic
#A2C171 #71A2C1 #C171A2
tetradic
#A2C171 #71C1B8 #9071C1 #C1717A
square
#A2C171 #71C1B8 #9071C1 #C1717A
split-complementary
#A2C171 #717AC1 #B871C1
monochromatic
#648038 #85AA4A #A2C171 #BED49C #DAE6C6

Accessibility & contrast

On white

2.02
#A2C171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#A2C171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C171
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C171#FFFFFF#000000##000000
##A2C1711.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B86B
Deuteranopia (green-blind)
#C4B675
Tritanopia (blue-blind)
#A6BAAE
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a2c171;
/* rgb */ color: rgb(162, 193, 113);
/* oklch */ color: oklch(76.9% 0.111 126.2);
Tailwind
colors: {
  custom: {
    50: '#bfd39b',
    500: '#a2c171',
    950: '#000000',
  },
}
SCSS
$custom: #a2c171;
$custom-light: #bfd39b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c171",
  "rgb": {
    "r": 162,
    "g": 193,
    "b": 113
  },
  "hsl": {
    "h": 83.25,
    "s": 39.216,
    "l": 60
  },
  "oklch": {
    "l": 0.76923,
    "c": 0.1114,
    "h": 126.2
  },
  "luminance": 0.47014
}

Semantic roles & 50–950 ramp

primary
#A2C171
secondary
#C3B7D6
accent
#59CF87
background
#FBFCF9
surface
#F7F9F2
border
#D0D2CC
text
#12140E
muted
#81827E

Preview Lab

Preview with #A2C171

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

Preview Lab → · Contrast checker → · Palette generator →

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