#A2A22D#A2A22D

#A2A22D is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.134 H 109.5°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A2A22D
RGBrgb(162, 162, 45)
HSLhsl(60, 57%, 41%)
HSVhsv(60, 72%, 64%)
CMYKcmyk(0%, 0%, 72.2%, 36.5%)
CIE-LABlab(64.73, -14.13, 57.22)
CIE-LCHlch(64.73, 58.94, 103.87°)
OKLaboklab(69.11% -0.0447 0.1266)
OKLCHoklch(69.11% 0.134 109.5)
XYZxyz(28.2953, 33.7123, 7.4987)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A22D #2D2DA2
analogous
#A2672D #A2A22D #67A22D
triadic
#A2A22D #2DA2A2 #A22DA2
tetradic
#A2A22D #2DA267 #2D2DA2 #A22D67
square
#A2A22D #2DA267 #2D2DA2 #A22D67
split-complementary
#A2A22D #2D67A2 #672DA2
monochromatic
#424212 #727220 #A2A22D #CACA42 #D8D872

Accessibility & contrast

On white

2.71
#A2A22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A2A22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A22D
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A22D#FFFFFF#000000##000000
##A2A22D1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B17
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#AE988B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a22d;
/* rgb */ color: rgb(162, 162, 45);
/* oklch */ color: oklch(69.1% 0.134 109.5);
Tailwind
colors: {
  custom: {
    50: '#c1bd6e',
    500: '#a2a22d',
    950: '#000000',
  },
}
SCSS
$custom: #a2a22d;
$custom-light: #c1bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a22d",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69113,
    "c": 0.13429,
    "h": 109.5
  },
  "luminance": 0.33712
}

Semantic roles & 50–950 ramp

primary
#A2A22D
secondary
#6C6CBF
accent
#48E048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A22D

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

Preview Lab → · Contrast checker → · Palette generator →

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