#A2A162#A2A162

#A2A162 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.084 H 107.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A2A162
RGBrgb(162, 161, 98)
HSLhsl(59, 26%, 51%)
HSVhsv(59, 40%, 64%)
CMYKcmyk(0%, 0.6%, 39.5%, 36.5%)
CIE-LABlab(65.01, -9.29, 32.92)
CIE-LCHlch(65.01, 34.21, 105.77°)
OKLaboklab(69.51% -0.0255 0.0803)
OKLCHoklch(69.51% 0.084 107.6)
XYZxyz(29.8502, 34.0536, 16.5534)
Luminance0.3405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A162 #6263A2
analogous
#A28162 #A2A162 #83A262
triadic
#A2A162 #62A2A1 #A162A2
tetradic
#A2A162 #62A281 #6263A2 #A26283
square
#A2A162 #62A281 #6263A2 #A26283
split-complementary
#A2A162 #6283A2 #8162A2
monochromatic
#565633 #7D7C4A #A2A162 #B9B888 #D0CFAF

Accessibility & contrast

On white

2.69
#A2A162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A2A162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A162
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A162#FFFFFF#000000##000000
##A2A1621.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9C5D
Deuteranopia (green-blind)
#AC9F65
Tritanopia (blue-blind)
#AA9A91
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a162;
/* rgb */ color: rgb(162, 161, 98);
/* oklch */ color: oklch(69.5% 0.084 107.6);
Tailwind
colors: {
  custom: {
    50: '#bebc8f',
    500: '#a2a162',
    950: '#000000',
  },
}
SCSS
$custom: #a2a162;
$custom-light: #bebc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a162",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 98
  },
  "hsl": {
    "h": 59.063,
    "s": 25.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.69507,
    "c": 0.08421,
    "h": 107.6
  },
  "luminance": 0.34053
}

Semantic roles & 50–950 ramp

primary
#A2A162
secondary
#A2A2BE
accent
#67C266
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A2A162

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

Preview Lab → · Contrast checker → · Palette generator →

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