#A2AA22#A2AA22

#A2AA22 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.9% C 0.149 H 113.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#A2AA22
RGBrgb(162, 170, 34)
HSLhsl(64, 67%, 40%)
HSVhsv(64, 80%, 67%)
CMYKcmyk(4.7%, 0%, 80%, 33.3%)
CIE-LABlab(66.94, -18.70, 62.83)
CIE-LCHlch(66.94, 65.56, 106.58°)
OKLaboklab(70.86% -0.0584 0.1366)
OKLCHoklch(70.86% 0.149 113.2)
XYZxyz(29.5647, 36.5470, 7.0099)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA22 #2A22AA
analogous
#AA6E22 #A2AA22 #5EAA22
triadic
#A2AA22 #22A2AA #AA22A2
tetradic
#A2AA22 #22AA6E #2A22AA #AA225E
square
#A2AA22 #22AA6E #2A22AA #AA225E
split-complementary
#A2AA22 #225EAA #6E22AA
monochromatic
#41440E #717718 #A2AA22 #CDD633 #D9E066

Accessibility & contrast

On white

2.53
#A2AA22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A2AA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA22
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA22#FFFFFF#000000##000000
##A2AA221.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#B7A42F
Tritanopia (blue-blind)
#AD9F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa22;
/* rgb */ color: rgb(162, 170, 34);
/* oklch */ color: oklch(70.9% 0.149 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c36a',
    500: '#a2aa22',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa22;
$custom-light: #c1c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa22",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 63.529,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.70856,
    "c": 0.14851,
    "h": 113.2
  },
  "luminance": 0.36546
}

Semantic roles & 50–950 ramp

primary
#A2AA22
secondary
#6862C6
accent
#3EEA48
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AA22

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

Preview Lab → · Contrast checker → · Palette generator →

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