#A1AC22#A1AC22

#A1AC22 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.2% C 0.151 H 114.4°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#A1AC22
RGBrgb(161, 172, 34)
HSLhsl(65, 67%, 40%)
HSVhsv(65, 80%, 67%)
CMYKcmyk(6.4%, 0%, 80.2%, 32.5%)
CIE-LABlab(67.43, -20.15, 63.24)
CIE-LCHlch(67.43, 66.37, 107.67°)
OKLaboklab(71.23% -0.0623 0.1375)
OKLCHoklch(71.23% 0.151 114.4)
XYZxyz(29.7401, 37.1982, 7.1264)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AC22 #2D22AC
analogous
#AC7222 #A1AC22 #5CAC22
triadic
#A1AC22 #22A1AC #AC22A1
tetradic
#A1AC22 #22AC72 #2D22AC #AC225C
square
#A1AC22 #22AC72 #2D22AC #AC225C
split-complementary
#A1AC22 #225CAC #7222AC
monochromatic
#41460E #717918 #A1AC22 #CAD734 #D7E167

Accessibility & contrast

On white

2.49
#A1AC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#A1AC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AC22
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AC22#FFFFFF#000000##000000
##A1AC221.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B9A530
Tritanopia (blue-blind)
#ACA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a1ac22;
/* rgb */ color: rgb(161, 172, 34);
/* oklch */ color: oklch(71.2% 0.151 114.4);
Tailwind
colors: {
  custom: {
    50: '#c1c46b',
    500: '#a1ac22',
    950: '#000000',
  },
}
SCSS
$custom: #a1ac22;
$custom-light: #c1c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ac22",
  "rgb": {
    "r": 161,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 64.783,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.7123,
    "c": 0.15093,
    "h": 114.4
  },
  "luminance": 0.37198
}

Semantic roles & 50–950 ramp

primary
#A1AC22
secondary
#6B63C7
accent
#3EEA4C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1AC22

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

Preview Lab → · Contrast checker → · Palette generator →

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