#A1AA22#A1AA22

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

Color values

HEX#A1AA22
RGBrgb(161, 170, 34)
HSLhsl(64, 67%, 40%)
HSVhsv(64, 80%, 67%)
CMYKcmyk(5.3%, 0%, 80%, 33.3%)
CIE-LABlab(66.86, -19.14, 62.73)
CIE-LCHlch(66.86, 65.59, 106.97°)
OKLaboklab(70.77% -0.0595 0.1364)
OKLCHoklch(70.77% 0.149 113.6)
XYZxyz(29.3623, 36.4426, 7.0004)
Luminance0.3644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AA22 #2B22AA
analogous
#AA6F22 #A1AA22 #5DAA22
triadic
#A1AA22 #22A1AA #AA22A1
tetradic
#A1AA22 #22AA6F #2B22AA #AA225D
square
#A1AA22 #22AA6F #2B22AA #AA225D
split-complementary
#A1AA22 #225DAA #6F22AA
monochromatic
#40440E #717718 #A1AA22 #CBD633 #D8E066

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1AA22#FFFFFF#000000##000000
##A1AA221.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)
#B7A42F
Tritanopia (blue-blind)
#AC9F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a1aa22;
/* rgb */ color: rgb(161, 170, 34);
/* oklch */ color: oklch(70.8% 0.149 113.6);
Tailwind
colors: {
  custom: {
    50: '#c1c36a',
    500: '#a1aa22',
    950: '#000000',
  },
}
SCSS
$custom: #a1aa22;
$custom-light: #c1c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1aa22",
  "rgb": {
    "r": 161,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 63.971,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.70773,
    "c": 0.14881,
    "h": 113.6
  },
  "luminance": 0.36442
}

Semantic roles & 50–950 ramp

primary
#A1AA22
secondary
#6962C6
accent
#3EEA4A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1AA22

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

Preview Lab → · Contrast checker → · Palette generator →

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