#A1A720#A1A720

#A1A720 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.1% C 0.147 H 112.3°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#A1A720
RGBrgb(161, 167, 32)
HSLhsl(63, 68%, 39%)
HSVhsv(63, 81%, 65%)
CMYKcmyk(3.6%, 0%, 80.8%, 34.5%)
CIE-LABlab(66.00, -17.69, 62.54)
CIE-LCHlch(66.00, 64.99, 105.79°)
OKLaboklab(70.08% -0.0557 0.1356)
OKLCHoklch(70.08% 0.147 112.3)
XYZxyz(28.7784, 35.3195, 6.6676)
Luminance0.3532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A720 #2620A7
analogous
#A76A20 #A1A720 #5EA720
triadic
#A1A720 #20A1A7 #A720A1
tetradic
#A1A720 #20A76A #2620A7 #A7205E
square
#A1A720 #20A76A #2620A7 #A7205E
split-complementary
#A1A720 #205EA7 #6A20A7
monochromatic
#3E400C #6F7416 #A1A720 #CFD72D #DBE161

Accessibility & contrast

On white

2.60
#A1A720 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#A1A720 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A720
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A720#FFFFFF#000000##000000
##A1A7201.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#AD9C8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a1a720;
/* rgb */ color: rgb(161, 167, 32);
/* oklch */ color: oklch(70.1% 0.147 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c069',
    500: '#a1a720',
    950: '#000000',
  },
}
SCSS
$custom: #a1a720;
$custom-light: #c1c069;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a720",
  "rgb": {
    "r": 161,
    "g": 167,
    "b": 32
  },
  "hsl": {
    "h": 62.667,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70081,
    "c": 0.1466,
    "h": 112.3
  },
  "luminance": 0.35319
}

Semantic roles & 50–950 ramp

primary
#A1A720
secondary
#625DC5
accent
#3DEB45
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A720

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

Preview Lab → · Contrast checker → · Palette generator →

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