#A1A522#A1A522

#A1A522 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.6% C 0.144 H 111.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A1A522
RGBrgb(161, 165, 34)
HSLhsl(62, 66%, 39%)
HSVhsv(62, 79%, 65%)
CMYKcmyk(2.4%, 0%, 79.4%, 35.3%)
CIE-LABlab(65.44, -16.59, 61.48)
CIE-LCHlch(65.44, 63.68, 105.10°)
OKLaboklab(69.64% -0.0525 0.1337)
OKLCHoklch(69.64% 0.144 111.4)
XYZxyz(28.4428, 34.6036, 6.6939)
Luminance0.3460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A522 #2622A5
analogous
#A56822 #A1A522 #60A522
triadic
#A1A522 #22A1A5 #A522A1
tetradic
#A1A522 #22A568 #2622A5 #A52260
square
#A1A522 #22A568 #2622A5 #A52260
split-complementary
#A1A522 #2260A5 #6822A5
monochromatic
#3E400D #6F7218 #A1A522 #CFD430 #DBDF63

Accessibility & contrast

On white

2.65
#A1A522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A1A522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A522
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A522#FFFFFF#000000##000000
##A1A5221.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B3A02E
Tritanopia (blue-blind)
#AD9A8D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a1a522;
/* rgb */ color: rgb(161, 165, 34);
/* oklch */ color: oklch(69.6% 0.144 111.4);
Tailwind
colors: {
  custom: {
    50: '#c1bf6a',
    500: '#a1a522',
    950: '#000000',
  },
}
SCSS
$custom: #a1a522;
$custom-light: #c1bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a522",
  "rgb": {
    "r": 161,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 61.832,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69638,
    "c": 0.14363,
    "h": 111.4
  },
  "luminance": 0.34603
}

Semantic roles & 50–950 ramp

primary
#A1A522
secondary
#625FC4
accent
#3FE944
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A522

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

Preview Lab → · Contrast checker → · Palette generator →

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