#A2A166#A2A166

#A2A166 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.6% C 0.079 H 107.5°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#A2A166
RGBrgb(162, 161, 102)
HSLhsl(59, 24%, 52%)
HSVhsv(59, 37%, 64%)
CMYKcmyk(0%, 0.6%, 37%, 36.5%)
CIE-LABlab(65.07, -8.83, 30.88)
CIE-LCHlch(65.07, 32.12, 105.95°)
OKLaboklab(69.58% -0.0238 0.0758)
OKLCHoklch(69.58% 0.079 107.5)
XYZxyz(30.0438, 34.1310, 17.5731)
Luminance0.3413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A166 #6667A2
analogous
#A28366 #A2A166 #85A266
triadic
#A2A166 #66A2A1 #A166A2
tetradic
#A2A166 #66A283 #6667A2 #A26685
square
#A2A166 #66A283 #6667A2 #A26685
split-complementary
#A2A166 #6685A2 #8366A2
monochromatic
#585736 #7E7D4D #A2A166 #B9B88C #D0D0B2

Accessibility & contrast

On white

2.68
#A2A166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#A2A166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A166
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A166#FFFFFF#000000##000000
##A2A1661.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9C62
Deuteranopia (green-blind)
#AB9F68
Tritanopia (blue-blind)
#AA9A92
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a166;
/* rgb */ color: rgb(162, 161, 102);
/* oklch */ color: oklch(69.6% 0.079 107.5);
Tailwind
colors: {
  custom: {
    50: '#bebc92',
    500: '#a2a166',
    950: '#000000',
  },
}
SCSS
$custom: #a2a166;
$custom-light: #bebc92;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a166",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 102
  },
  "hsl": {
    "h": 59,
    "s": 24.39,
    "l": 51.765
  },
  "oklch": {
    "l": 0.69575,
    "c": 0.07944,
    "h": 107.5
  },
  "luminance": 0.3413
}

Semantic roles & 50–950 ramp

primary
#A2A166
secondary
#A5A5BF
accent
#68C167
background
#FBFBF9
surface
#F7F6F1
border
#D0D0CB
text
#12120D
muted
#81817E

Preview Lab

Preview with #A2A166

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

Preview Lab → · Contrast checker → · Palette generator →

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