#A1A22D#A1A22D

#A1A22D is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.0% C 0.135 H 109.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A1A22D
RGBrgb(161, 162, 45)
HSLhsl(61, 57%, 41%)
HSVhsv(61, 72%, 64%)
CMYKcmyk(0.6%, 0%, 72.2%, 36.5%)
CIE-LABlab(64.65, -14.57, 57.11)
CIE-LCHlch(64.65, 58.94, 104.31°)
OKLaboklab(69.03% -0.0459 0.1264)
OKLCHoklch(69.03% 0.135 109.9)
XYZxyz(28.0929, 33.6080, 7.4893)
Luminance0.3361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A22D #2E2DA2
analogous
#A2682D #A1A22D #66A22D
triadic
#A1A22D #2DA1A2 #A22DA1
tetradic
#A1A22D #2DA268 #2E2DA2 #A22D66
square
#A1A22D #2DA268 #2E2DA2 #A22D66
split-complementary
#A1A22D #2D66A2 #682DA2
monochromatic
#424212 #717220 #A1A22D #C9CA42 #D7D872

Accessibility & contrast

On white

2.72
#A1A22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#A1A22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A22D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A22D#FFFFFF#000000##000000
##A1A22D1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B17
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#AC988B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a1a22d;
/* rgb */ color: rgb(161, 162, 45);
/* oklch */ color: oklch(69.0% 0.135 109.9);
Tailwind
colors: {
  custom: {
    50: '#c0bd6e',
    500: '#a1a22d',
    950: '#000000',
  },
}
SCSS
$custom: #a1a22d;
$custom-light: #c0bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a22d",
  "rgb": {
    "r": 161,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 60.513,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69026,
    "c": 0.1345,
    "h": 109.9
  },
  "luminance": 0.33607
}

Semantic roles & 50–950 ramp

primary
#A1A22D
secondary
#6C6CBF
accent
#48E049
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1A22D

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

Preview Lab → · Contrast checker → · Palette generator →

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