#A2AA2A#A2AA2A

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

Color values

HEX#A2AA2A
RGBrgb(162, 170, 42)
HSLhsl(64, 60%, 42%)
HSVhsv(64, 75%, 67%)
CMYKcmyk(4.7%, 0%, 75.3%, 33.3%)
CIE-LABlab(66.97, -18.38, 60.39)
CIE-LCHlch(66.97, 63.12, 106.93°)
OKLaboklab(70.9% -0.0568 0.1328)
OKLCHoklch(70.9% 0.144 113.2)
XYZxyz(29.6939, 36.5987, 7.6901)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA2A #322AAA
analogous
#AA722A #A2AA2A #62AA2A
triadic
#A2AA2A #2AA2AA #AA2AA2
tetradic
#A2AA2A #2AAA72 #322AAA #AA2A62
square
#A2AA2A #2AAA72 #322AAA #AA2A62
split-complementary
#A2AA2A #2A62AA #722AAA
monochromatic
#444812 #73791E #A2AA2A #C7D041 #D6DC72

Accessibility & contrast

On white

2.52
#A2AA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#A2AA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA2A
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA2A#FFFFFF#000000##000000
##A2AA2A1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20C
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#ADA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa2a;
/* rgb */ color: rgb(162, 170, 42);
/* oklch */ color: oklch(70.9% 0.144 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c36e',
    500: '#a2aa2a',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa2a;
$custom-light: #c1c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa2a",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 63.75,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.709,
    "c": 0.14444,
    "h": 113.2
  },
  "luminance": 0.36598
}

Semantic roles & 50–950 ramp

primary
#A2AA2A
secondary
#726CC3
accent
#44E44E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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