#A1AA2A#A1AA2A

#A1AA2A is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.8% C 0.145 H 113.6°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#A1AA2A
RGBrgb(161, 170, 42)
HSLhsl(64, 60%, 42%)
HSVhsv(64, 75%, 67%)
CMYKcmyk(5.3%, 0%, 75.3%, 33.3%)
CIE-LABlab(66.90, -18.81, 60.29)
CIE-LCHlch(66.90, 63.15, 107.33°)
OKLaboklab(70.82% -0.058 0.1326)
OKLCHoklch(70.82% 0.145 113.6)
XYZxyz(29.4915, 36.4943, 7.6806)
Luminance0.3649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AA2A #332AAA
analogous
#AA732A #A1AA2A #61AA2A
triadic
#A1AA2A #2AA1AA #AA2AA1
tetradic
#A1AA2A #2AAA73 #332AAA #AA2A61
square
#A1AA2A #2AAA73 #332AAA #AA2A61
split-complementary
#A1AA2A #2A61AA #732AAA
monochromatic
#444812 #73791E #A1AA2A #C6D041 #D5DC72

Accessibility & contrast

On white

2.53
#A1AA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#A1AA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AA2A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AA2A#FFFFFF#000000##000000
##A1AA2A1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20C
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#ACA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a1aa2a;
/* rgb */ color: rgb(161, 170, 42);
/* oklch */ color: oklch(70.8% 0.145 113.6);
Tailwind
colors: {
  custom: {
    50: '#c0c36e',
    500: '#a1aa2a',
    950: '#000000',
  },
}
SCSS
$custom: #a1aa2a;
$custom-light: #c0c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1aa2a",
  "rgb": {
    "r": 161,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 64.219,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70817,
    "c": 0.14474,
    "h": 113.6
  },
  "luminance": 0.36494
}

Semantic roles & 50–950 ramp

primary
#A1AA2A
secondary
#726CC3
accent
#44E44F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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