#A1A520#A1A520

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

Color values

HEX#A1A520
RGBrgb(161, 165, 32)
HSLhsl(62, 68%, 39%)
HSVhsv(62, 81%, 65%)
CMYKcmyk(2.4%, 0%, 80.6%, 35.3%)
CIE-LABlab(65.43, -16.66, 62.05)
CIE-LCHlch(65.43, 64.24, 105.03°)
OKLaboklab(69.63% -0.0528 0.1345)
OKLCHoklch(69.63% 0.145 111.4)
XYZxyz(28.4148, 34.5924, 6.5464)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A520 #2420A5
analogous
#A56620 #A1A520 #5EA520
triadic
#A1A520 #20A1A5 #A520A1
tetradic
#A1A520 #20A566 #2420A5 #A5205E
square
#A1A520 #20A566 #2420A5 #A5205E
split-complementary
#A1A520 #205EA5 #6620A5
monochromatic
#3D3E0C #6F7216 #A1A520 #D1D62C #DCE05F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1A520#FFFFFF#000000##000000
##A1A5201.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)
#B3A02D
Tritanopia (blue-blind)
#AD9A8D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a1a520;
/* rgb */ color: rgb(161, 165, 32);
/* oklch */ color: oklch(69.6% 0.145 111.4);
Tailwind
colors: {
  custom: {
    50: '#c1bf69',
    500: '#a1a520',
    950: '#000000',
  },
}
SCSS
$custom: #a1a520;
$custom-light: #c1bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a520",
  "rgb": {
    "r": 161,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 61.805,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69628,
    "c": 0.14455,
    "h": 111.4
  },
  "luminance": 0.34592
}

Semantic roles & 50–950 ramp

primary
#A1A520
secondary
#5F5CC5
accent
#3DEA43
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A520

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

Preview Lab → · Contrast checker → · Palette generator →

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