#A2AF71#A2AF71

#A2AF71 is a light, moderate yellow-green. Relative luminance 0.395; OKLCH L 72.9% C 0.085 H 118.2°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#A2AF71
RGBrgb(162, 175, 113)
HSLhsl(73, 28%, 56%)
HSVhsv(73, 35%, 69%)
CMYKcmyk(7.4%, 0%, 35.4%, 31.4%)
CIE-LABlab(69.14, -14.80, 30.32)
CIE-LCHlch(69.14, 33.74, 116.01°)
OKLaboklab(72.87% -0.0402 0.0749)
OKLCHoklch(72.87% 0.085 118.2)
XYZxyz(33.2109, 39.5338, 21.5008)
Luminance0.3953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF71 #7E71AF
analogous
#AF9D71 #A2AF71 #83AF71
triadic
#A2AF71 #71A2AF #AF71A2
tetradic
#A2AF71 #71AF9D #7E71AF #AF7183
square
#A2AF71 #71AF9D #7E71AF #AF7183
split-complementary
#A2AF71 #7183AF #9D71AF
monochromatic
#606A3C #849152 #A2AF71 #BCC598 #D5DBBF

Accessibility & contrast

On white

2.36
#A2AF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#A2AF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF71
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF71#FFFFFF#000000##000000
##A2AF711.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A96D
Deuteranopia (green-blind)
#B5A974
Tritanopia (blue-blind)
#A8A99F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2af71;
/* rgb */ color: rgb(162, 175, 113);
/* oklch */ color: oklch(72.9% 0.085 118.2);
Tailwind
colors: {
  custom: {
    50: '#bec69a',
    500: '#a2af71',
    950: '#000000',
  },
}
SCSS
$custom: #a2af71;
$custom-light: #bec69a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af71",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 113
  },
  "hsl": {
    "h": 72.581,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.72872,
    "c": 0.08503,
    "h": 118.2
  },
  "luminance": 0.39534
}

Semantic roles & 50–950 ramp

primary
#A2AF71
secondary
#B7B1CB
accent
#64C478
background
#FBFCF9
surface
#F7F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #A2AF71

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

Preview Lab → · Contrast checker → · Palette generator →

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