#A1A22C#A1A22C

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

Color values

HEX#A1A22C
RGBrgb(161, 162, 44)
HSLhsl(61, 57%, 40%)
HSVhsv(61, 73%, 64%)
CMYKcmyk(0.6%, 0%, 72.8%, 36.5%)
CIE-LABlab(64.64, -14.62, 57.46)
CIE-LCHlch(64.64, 59.29, 104.27°)
OKLaboklab(69.02% -0.0461 0.127)
OKLCHoklch(69.02% 0.135 110)
XYZxyz(28.0739, 33.6004, 7.3891)
Luminance0.3360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A22C #2D2CA2
analogous
#A2682C #A1A22C #66A22C
triadic
#A1A22C #2CA1A2 #A22CA1
tetradic
#A1A22C #2CA268 #2D2CA2 #A22C66
square
#A1A22C #2CA268 #2D2CA2 #A22C66
split-complementary
#A1A22C #2C66A2 #682CA2
monochromatic
#414212 #71721F #A1A22C #CACB40 #D7D870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1A22C#FFFFFF#000000##000000
##A1A22C1.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)
#AF9B15
Deuteranopia (green-blind)
#B09E35
Tritanopia (blue-blind)
#AD988B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a1a22c;
/* rgb */ color: rgb(161, 162, 44);
/* oklch */ color: oklch(69.0% 0.135 110.0);
Tailwind
colors: {
  custom: {
    50: '#c0bd6e',
    500: '#a1a22c',
    950: '#000000',
  },
}
SCSS
$custom: #a1a22c;
$custom-light: #c0bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a22c",
  "rgb": {
    "r": 161,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 60.508,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69019,
    "c": 0.13512,
    "h": 110
  },
  "luminance": 0.336
}

Semantic roles & 50–950 ramp

primary
#A1A22C
secondary
#6B6ABF
accent
#47E149
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1A22C

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

Preview Lab → · Contrast checker → · Palette generator →

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