#A1A922#A1A922

#A1A922 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.5% C 0.148 H 113.2°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#A1A922
RGBrgb(161, 169, 34)
HSLhsl(64, 67%, 40%)
HSVhsv(64, 80%, 66%)
CMYKcmyk(4.7%, 0%, 79.9%, 33.7%)
CIE-LABlab(66.57, -18.63, 62.48)
CIE-LCHlch(66.57, 65.20, 106.60°)
OKLaboklab(70.55% -0.0581 0.1358)
OKLCHoklch(70.55% 0.148 113.2)
XYZxyz(29.1756, 36.0692, 6.9382)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A922 #2A22A9
analogous
#A96E22 #A1A922 #5DA922
triadic
#A1A922 #22A1A9 #A922A1
tetradic
#A1A922 #22A96E #2A22A9 #A9225D
square
#A1A922 #22A96E #2A22A9 #A9225D
split-complementary
#A1A922 #225DA9 #6E22A9
monochromatic
#40430D #707618 #A1A922 #CCD632 #D9E065

Accessibility & contrast

On white

2.56
#A1A922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#A1A922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A922
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A922#FFFFFF#000000##000000
##A1A9221.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#AC9E90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a1a922;
/* rgb */ color: rgb(161, 169, 34);
/* oklch */ color: oklch(70.5% 0.148 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c26a',
    500: '#a1a922',
    950: '#000000',
  },
}
SCSS
$custom: #a1a922;
$custom-light: #c1c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a922",
  "rgb": {
    "r": 161,
    "g": 169,
    "b": 34
  },
  "hsl": {
    "h": 63.556,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70546,
    "c": 0.14776,
    "h": 113.2
  },
  "luminance": 0.36068
}

Semantic roles & 50–950 ramp

primary
#A1A922
secondary
#6761C5
accent
#3EE949
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A922

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

Preview Lab → · Contrast checker → · Palette generator →

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