#A2A22A#A2A22A

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

Color values

HEX#A2A22A
RGBrgb(162, 162, 42)
HSLhsl(60, 59%, 40%)
HSVhsv(60, 74%, 64%)
CMYKcmyk(0%, 0%, 74.1%, 36.5%)
CIE-LABlab(64.72, -14.27, 58.27)
CIE-LCHlch(64.72, 59.99, 103.76°)
OKLaboklab(69.09% -0.0454 0.1283)
OKLCHoklch(69.09% 0.136 109.5)
XYZxyz(28.2396, 33.6901, 7.2053)
Luminance0.3369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A22A #2A2AA2
analogous
#A2662A #A2A22A #66A22A
triadic
#A2A22A #2AA2A2 #A22AA2
tetradic
#A2A22A #2AA266 #2A2AA2 #A22A66
square
#A2A22A #2AA266 #2A2AA2 #A22A66
split-complementary
#A2A22A #2A66A2 #662AA2
monochromatic
#414111 #71711D #A2A22A #CDCD3D #D9D96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A22A#FFFFFF#000000##000000
##A2A22A1.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)
#AF9B11
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#AE978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a22a;
/* rgb */ color: rgb(162, 162, 42);
/* oklch */ color: oklch(69.1% 0.136 109.5);
Tailwind
colors: {
  custom: {
    50: '#c1bd6d',
    500: '#a2a22a',
    950: '#000000',
  },
}
SCSS
$custom: #a2a22a;
$custom-light: #c1bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a22a",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 60,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.69093,
    "c": 0.1361,
    "h": 109.5
  },
  "luminance": 0.33689
}

Semantic roles & 50–950 ramp

primary
#A2A22A
secondary
#6868C0
accent
#46E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A22A

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

Preview Lab → · Contrast checker → · Palette generator →

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