#A2AA49#A2AA49

#A2AA49 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.2% C 0.121 H 113.4°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#A2AA49
RGBrgb(162, 170, 73)
HSLhsl(65, 40%, 48%)
HSVhsv(65, 57%, 67%)
CMYKcmyk(4.7%, 0%, 57.1%, 33.3%)
CIE-LABlab(67.21, -16.44, 48.06)
CIE-LCHlch(67.21, 50.79, 108.88°)
OKLaboklab(71.17% -0.0483 0.1115)
OKLCHoklch(71.17% 0.122 113.4)
XYZxyz(30.4783, 36.9124, 11.8213)
Luminance0.3691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA49 #5149AA
analogous
#AA8149 #A2AA49 #72AA49
triadic
#A2AA49 #49A2AA #AA49A2
tetradic
#A2AA49 #49AA81 #5149AA #AA4972
square
#A2AA49 #49AA81 #5149AA #AA4972
split-complementary
#A2AA49 #4972AA #8149AA
monochromatic
#505424 #797F37 #A2AA49 #BAC16F #CFD49A

Accessibility & contrast

On white

2.51
#A2AA49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#A2AA49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA49
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA49#FFFFFF#000000##000000
##A2AA491.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A33F
Deuteranopia (green-blind)
#B5A54F
Tritanopia (blue-blind)
#ACA195
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2aa49;
/* rgb */ color: rgb(162, 170, 73);
/* oklch */ color: oklch(71.2% 0.121 113.4);
Tailwind
colors: {
  custom: {
    50: '#c0c37f',
    500: '#a2aa49',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa49;
$custom-light: #c0c37f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa49",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 73
  },
  "hsl": {
    "h": 64.948,
    "s": 39.918,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71165,
    "c": 0.1215,
    "h": 113.4
  },
  "luminance": 0.36912
}

Semantic roles & 50–950 ramp

primary
#A2AA49
secondary
#938FC0
accent
#58D062
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #A2AA49

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

Preview Lab → · Contrast checker → · Palette generator →

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