#A2AA31#A2AA31

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

Color values

HEX#A2AA31
RGBrgb(162, 170, 49)
HSLhsl(64, 55%, 43%)
HSVhsv(64, 71%, 67%)
CMYKcmyk(4.7%, 0%, 71.2%, 33.3%)
CIE-LABlab(67.02, -18.04, 57.96)
CIE-LCHlch(67.02, 60.70, 107.29°)
OKLaboklab(70.95% -0.0552 0.1289)
OKLCHoklch(70.95% 0.14 113.2)
XYZxyz(29.8303, 36.6532, 8.4085)
Luminance0.3665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA31 #3931AA
analogous
#AA7531 #A2AA31 #65AA31
triadic
#A2AA31 #31A2AA #AA31A2
tetradic
#A2AA31 #31AA75 #3931AA #AA3165
square
#A2AA31 #31AA75 #3931AA #AA3165
split-complementary
#A2AA31 #3165AA #7531AA
monochromatic
#474B16 #757A23 #A2AA31 #C3CC4D #D3D97C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AA31#FFFFFF#000000##000000
##A2AA311.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)
#B7A21C
Deuteranopia (green-blind)
#B7A43A
Tritanopia (blue-blind)
#ADA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa31;
/* rgb */ color: rgb(162, 170, 49);
/* oklch */ color: oklch(70.9% 0.140 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c371',
    500: '#a2aa31',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa31;
$custom-light: #c1c371;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa31",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 63.967,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70946,
    "c": 0.14025,
    "h": 113.2
  },
  "luminance": 0.36653
}

Semantic roles & 50–950 ramp

primary
#A2AA31
secondary
#7A75C2
accent
#49DF53
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AA31

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

Preview Lab → · Contrast checker → · Palette generator →

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