#A1A620#A1A620

#A1A620 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.9% C 0.146 H 111.9°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#A1A620
RGBrgb(161, 166, 32)
HSLhsl(62, 68%, 39%)
HSVhsv(62, 81%, 65%)
CMYKcmyk(3%, 0%, 80.7%, 34.9%)
CIE-LABlab(65.71, -17.18, 62.29)
CIE-LCHlch(65.71, 64.62, 105.41°)
OKLaboklab(69.85% -0.0543 0.1351)
OKLCHoklch(69.85% 0.146 111.9)
XYZxyz(28.5959, 34.9545, 6.6068)
Luminance0.3495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A620 #2520A6
analogous
#A66820 #A1A620 #5EA620
triadic
#A1A620 #20A1A6 #A620A1
tetradic
#A1A620 #20A668 #2520A6 #A6205E
square
#A1A620 #20A668 #2520A6 #A6205E
split-complementary
#A1A620 #205EA6 #6820A6
monochromatic
#3D3F0C #6F7316 #A1A620 #D0D62D #DCE060

Accessibility & contrast

On white

2.63
#A1A620 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#A1A620 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A620
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A620#FFFFFF#000000##000000
##A1A6201.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B4A12D
Tritanopia (blue-blind)
#AD9B8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a1a620;
/* rgb */ color: rgb(161, 166, 32);
/* oklch */ color: oklch(69.9% 0.146 111.9);
Tailwind
colors: {
  custom: {
    50: '#c1c069',
    500: '#a1a620',
    950: '#000000',
  },
}
SCSS
$custom: #a1a620;
$custom-light: #c1c069;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a620",
  "rgb": {
    "r": 161,
    "g": 166,
    "b": 32
  },
  "hsl": {
    "h": 62.239,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.69854,
    "c": 0.14556,
    "h": 111.9
  },
  "luminance": 0.34954
}

Semantic roles & 50–950 ramp

primary
#A1A620
secondary
#615DC5
accent
#3DEB44
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A620

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

Preview Lab → · Contrast checker → · Palette generator →

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