#A2AA33#A2AA33

#A2AA33 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.0% C 0.139 H 113.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#A2AA33
RGBrgb(162, 170, 51)
HSLhsl(64, 54%, 43%)
HSVhsv(64, 70%, 67%)
CMYKcmyk(4.7%, 0%, 70%, 33.3%)
CIE-LABlab(67.03, -17.93, 57.22)
CIE-LCHlch(67.03, 59.97, 107.40°)
OKLaboklab(70.96% -0.0548 0.1277)
OKLCHoklch(70.96% 0.139 113.2)
XYZxyz(29.8734, 36.6705, 8.6358)
Luminance0.3667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA33 #3B33AA
analogous
#AA7633 #A2AA33 #66AA33
triadic
#A2AA33 #33A2AA #AA33A2
tetradic
#A2AA33 #33AA76 #3B33AA #AA3366
square
#A2AA33 #33AA76 #3B33AA #AA3366
split-complementary
#A2AA33 #3366AA #7633AA
monochromatic
#484C17 #757B25 #A2AA33 #C2CA50 #D3D97F

Accessibility & contrast

On white

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

On black

8.33
#A2AA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA33
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA33#FFFFFF#000000##000000
##A2AA331.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A220
Deuteranopia (green-blind)
#B7A43C
Tritanopia (blue-blind)
#ADA093
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa33;
/* rgb */ color: rgb(162, 170, 51);
/* oklch */ color: oklch(71.0% 0.139 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c372',
    500: '#a2aa33',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa33;
$custom-light: #c1c372;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa33",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 51
  },
  "hsl": {
    "h": 64.034,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70961,
    "c": 0.13894,
    "h": 113.2
  },
  "luminance": 0.3667
}

Semantic roles & 50–950 ramp

primary
#A2AA33
secondary
#7C77C2
accent
#4BDD54
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AA33

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

Preview Lab → · Contrast checker → · Palette generator →

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