#A2A22C#A2A22C

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

Color values

HEX#A2A22C
RGBrgb(162, 162, 44)
HSLhsl(60, 57%, 40%)
HSVhsv(60, 73%, 64%)
CMYKcmyk(0%, 0%, 72.8%, 36.5%)
CIE-LABlab(64.73, -14.18, 57.57)
CIE-LCHlch(64.73, 59.29, 103.84°)
OKLaboklab(69.11% -0.045 0.1272)
OKLCHoklch(69.11% 0.135 109.5)
XYZxyz(28.2763, 33.7047, 7.3986)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A22C #2C2CA2
analogous
#A2672C #A2A22C #67A22C
triadic
#A2A22C #2CA2A2 #A22CA2
tetradic
#A2A22C #2CA267 #2C2CA2 #A22C67
square
#A2A22C #2CA267 #2C2CA2 #A22C67
split-complementary
#A2A22C #2C67A2 #672CA2
monochromatic
#424212 #72721F #A2A22C #CBCB40 #D8D870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A22C#FFFFFF#000000##000000
##A2A22C1.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)
#AF9B15
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#AE978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a22c;
/* rgb */ color: rgb(162, 162, 44);
/* oklch */ color: oklch(69.1% 0.135 109.5);
Tailwind
colors: {
  custom: {
    50: '#c1bd6e',
    500: '#a2a22c',
    950: '#000000',
  },
}
SCSS
$custom: #a2a22c;
$custom-light: #c1bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a22c",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 60,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69106,
    "c": 0.13491,
    "h": 109.5
  },
  "luminance": 0.33704
}

Semantic roles & 50–950 ramp

primary
#A2A22C
secondary
#6A6ABF
accent
#47E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A22C

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

Preview Lab → · Contrast checker → · Palette generator →

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