#A2A22E#A2A22E

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

Color values

HEX#A2A22E
RGBrgb(162, 162, 46)
HSLhsl(60, 56%, 41%)
HSVhsv(60, 72%, 64%)
CMYKcmyk(0%, 0%, 71.6%, 36.5%)
CIE-LABlab(64.74, -14.08, 56.85)
CIE-LCHlch(64.74, 58.57, 103.91°)
OKLaboklab(69.12% -0.0445 0.126)
OKLCHoklch(69.12% 0.134 109.4)
XYZxyz(28.3148, 33.7201, 7.6014)
Luminance0.3372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A22E #2E2EA2
analogous
#A2682E #A2A22E #68A22E
triadic
#A2A22E #2EA2A2 #A22EA2
tetradic
#A2A22E #2EA268 #2E2EA2 #A22E68
square
#A2A22E #2EA268 #2E2EA2 #A22E68
split-complementary
#A2A22E #2E68A2 #682EA2
monochromatic
#434313 #727220 #A2A22E #CACA43 #D7D773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A22E#FFFFFF#000000##000000
##A2A22E1.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)
#AF9B19
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#AE988B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a22e;
/* rgb */ color: rgb(162, 162, 46);
/* oklch */ color: oklch(69.1% 0.134 109.4);
Tailwind
colors: {
  custom: {
    50: '#c1bd6f',
    500: '#a2a22e',
    950: '#000000',
  },
}
SCSS
$custom: #a2a22e;
$custom-light: #c1bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a22e",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6912,
    "c": 0.13366,
    "h": 109.4
  },
  "luminance": 0.33719
}

Semantic roles & 50–950 ramp

primary
#A2A22E
secondary
#6D6DBF
accent
#49DF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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