#A2AA34#A2AA34

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

Color values

HEX#A2AA34
RGBrgb(162, 170, 52)
HSLhsl(64, 53%, 44%)
HSVhsv(64, 69%, 67%)
CMYKcmyk(4.7%, 0%, 69.4%, 33.3%)
CIE-LABlab(67.04, -17.88, 56.85)
CIE-LCHlch(67.04, 59.59, 107.46°)
OKLaboklab(70.97% -0.0545 0.1271)
OKLCHoklch(70.97% 0.138 113.2)
XYZxyz(29.8957, 36.6794, 8.7531)
Luminance0.3668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA34 #3C34AA
analogous
#AA7734 #A2AA34 #67AA34
triadic
#A2AA34 #34A2AA #AA34A2
tetradic
#A2AA34 #34AA77 #3C34AA #AA3467
square
#A2AA34 #34AA77 #3C34AA #AA3467
split-complementary
#A2AA34 #3467AA #7734AA
monochromatic
#494C17 #757B26 #A2AA34 #C2CA51 #D2D880

Accessibility & contrast

On white

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

On black

8.34
#A2AA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA34
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA34#FFFFFF#000000##000000
##A2AA341.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2aa34;
/* rgb */ color: rgb(162, 170, 52);
/* oklch */ color: oklch(71.0% 0.138 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c373',
    500: '#a2aa34',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa34;
$custom-light: #c1c373;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa34",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 52
  },
  "hsl": {
    "h": 64.068,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70968,
    "c": 0.13826,
    "h": 113.2
  },
  "luminance": 0.36679
}

Semantic roles & 50–950 ramp

primary
#A2AA34
secondary
#7D78C1
accent
#4BDD55
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AA34

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

Preview Lab → · Contrast checker → · Palette generator →

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