#A2AA45#A2AA45

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

Color values

HEX#A2AA45
RGBrgb(162, 170, 69)
HSLhsl(65, 42%, 47%)
HSVhsv(65, 59%, 67%)
CMYKcmyk(4.7%, 0%, 59.4%, 33.3%)
CIE-LABlab(67.17, -16.75, 49.84)
CIE-LCHlch(67.17, 52.58, 108.58°)
OKLaboklab(71.12% -0.0496 0.1148)
OKLCHoklch(71.12% 0.125 113.4)
XYZxyz(30.3499, 36.8611, 11.1452)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA45 #4D45AA
analogous
#AA7F45 #A2AA45 #70AA45
triadic
#A2AA45 #45A2AA #AA45A2
tetradic
#A2AA45 #45AA7F #4D45AA #AA4570
square
#A2AA45 #45AA7F #4D45AA #AA4570
split-complementary
#A2AA45 #4570AA #7F45AA
monochromatic
#4F5322 #797E33 #A2AA45 #BBC26A #CFD495

Accessibility & contrast

On white

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

On black

8.37
#A2AA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA45
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA45#FFFFFF#000000##000000
##A2AA451.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A23A
Deuteranopia (green-blind)
#B6A54B
Tritanopia (blue-blind)
#ACA194
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa45;
/* rgb */ color: rgb(162, 170, 69);
/* oklch */ color: oklch(71.1% 0.125 113.4);
Tailwind
colors: {
  custom: {
    50: '#c0c37d',
    500: '#a2aa45',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa45;
$custom-light: #c0c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa45",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 69
  },
  "hsl": {
    "h": 64.752,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71122,
    "c": 0.12507,
    "h": 113.4
  },
  "luminance": 0.36861
}

Semantic roles & 50–950 ramp

primary
#A2AA45
secondary
#8F8BC0
accent
#56D260
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #A2AA45

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

Preview Lab → · Contrast checker → · Palette generator →

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