#A2AA48#A2AA48

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

Color values

HEX#A2AA48
RGBrgb(162, 170, 72)
HSLhsl(65, 40%, 47%)
HSVhsv(65, 58%, 67%)
CMYKcmyk(4.7%, 0%, 57.6%, 33.3%)
CIE-LABlab(67.20, -16.52, 48.51)
CIE-LCHlch(67.20, 51.24, 108.80°)
OKLaboklab(71.15% -0.0486 0.1123)
OKLCHoklch(71.15% 0.122 113.4)
XYZxyz(30.4454, 36.8993, 11.6481)
Luminance0.3690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA48 #5048AA
analogous
#AA8148 #A2AA48 #71AA48
triadic
#A2AA48 #48A2AA #AA48A2
tetradic
#A2AA48 #48AA81 #5048AA #AA4871
square
#A2AA48 #48AA81 #5048AA #AA4871
split-complementary
#A2AA48 #4871AA #8148AA
monochromatic
#505424 #797F36 #A2AA48 #BBC16E #CFD499

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AA48#FFFFFF#000000##000000
##A2AA481.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)
#B5A33E
Deuteranopia (green-blind)
#B5A54E
Tritanopia (blue-blind)
#ACA195
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2aa48;
/* rgb */ color: rgb(162, 170, 72);
/* oklch */ color: oklch(71.2% 0.122 113.4);
Tailwind
colors: {
  custom: {
    50: '#c0c37f',
    500: '#a2aa48',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa48;
$custom-light: #c0c37f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa48",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 72
  },
  "hsl": {
    "h": 64.898,
    "s": 40.496,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71154,
    "c": 0.1224,
    "h": 113.4
  },
  "luminance": 0.36899
}

Semantic roles & 50–950 ramp

primary
#A2AA48
secondary
#928EC0
accent
#57D061
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #A2AA48

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

Preview Lab → · Contrast checker → · Palette generator →

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