#A2A86C#A2A86C

#A2A86C is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.2% C 0.081 H 113.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#A2A86C
RGBrgb(162, 168, 108)
HSLhsl(66, 26%, 54%)
HSVhsv(66, 36%, 66%)
CMYKcmyk(3.6%, 0%, 35.7%, 34.1%)
CIE-LABlab(67.10, -11.79, 30.32)
CIE-LCHlch(67.10, 32.54, 111.25°)
OKLaboklab(71.23% -0.0319 0.0748)
OKLCHoklch(71.23% 0.081 113.1)
XYZxyz(31.6099, 36.7697, 19.6165)
Luminance0.3677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A86C #726CA8
analogous
#A8906C #A2A86C #84A86C
triadic
#A2A86C #6CA2A8 #A86CA2
tetradic
#A2A86C #6CA890 #726CA8 #A86C84
square
#A2A86C #6CA890 #726CA8 #A86C84
split-complementary
#A2A86C #6C84A8 #906CA8
monochromatic
#5D6039 #818750 #A2A86C #BABF92 #D3D6B9

Accessibility & contrast

On white

2.51
#A2A86C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#A2A86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A86C
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A86C#FFFFFF#000000##000000
##A2A86C1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A368
Deuteranopia (green-blind)
#B0A46F
Tritanopia (blue-blind)
#A9A199
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2a86c;
/* rgb */ color: rgb(162, 168, 108);
/* oklch */ color: oklch(71.2% 0.081 113.1);
Tailwind
colors: {
  custom: {
    50: '#bec197',
    500: '#a2a86c',
    950: '#000000',
  },
}
SCSS
$custom: #a2a86c;
$custom-light: #bec197;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a86c",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 108
  },
  "hsl": {
    "h": 66,
    "s": 25.641,
    "l": 54.118
  },
  "oklch": {
    "l": 0.71226,
    "c": 0.08128,
    "h": 113.1
  },
  "luminance": 0.36769
}

Semantic roles & 50–950 ramp

primary
#A2A86C
secondary
#AEABC5
accent
#66C26F
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120D
muted
#81817E

Preview Lab

Preview with #A2A86C

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

Preview Lab → · Contrast checker → · Palette generator →

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