#A1AA20#A1AA20

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

Color values

HEX#A1AA20
RGBrgb(161, 170, 32)
HSLhsl(64, 68%, 40%)
HSVhsv(64, 81%, 67%)
CMYKcmyk(5.3%, 0%, 81.2%, 33.3%)
CIE-LABlab(66.85, -19.21, 63.29)
CIE-LCHlch(66.85, 66.14, 106.88°)
OKLaboklab(70.76% -0.0599 0.1372)
OKLCHoklch(70.76% 0.15 113.6)
XYZxyz(29.3343, 36.4314, 6.8529)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AA20 #2920AA
analogous
#AA6E20 #A1AA20 #5CAA20
triadic
#A1AA20 #20A1AA #AA20A1
tetradic
#A1AA20 #20AA6E #2920AA #AA205C
square
#A1AA20 #20AA6E #2920AA #AA205C
split-complementary
#A1AA20 #205CAA #6E20AA
monochromatic
#3F430D #707616 #A1AA20 #CDD82F #D9E263

Accessibility & contrast

On white

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

On black

8.29
#A1AA20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AA20
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AA20#FFFFFF#000000##000000
##A1AA201.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B7A42E
Tritanopia (blue-blind)
#AC9F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a1aa20;
/* rgb */ color: rgb(161, 170, 32);
/* oklch */ color: oklch(70.8% 0.150 113.6);
Tailwind
colors: {
  custom: {
    50: '#c1c36a',
    500: '#a1aa20',
    950: '#000000',
  },
}
SCSS
$custom: #a1aa20;
$custom-light: #c1c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1aa20",
  "rgb": {
    "r": 161,
    "g": 170,
    "b": 32
  },
  "hsl": {
    "h": 63.913,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70764,
    "c": 0.14971,
    "h": 113.6
  },
  "luminance": 0.36431
}

Semantic roles & 50–950 ramp

primary
#A1AA20
secondary
#665FC7
accent
#3DEB48
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1AA20

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

Preview Lab → · Contrast checker → · Palette generator →

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