#A1AC21#A1AC21

#A1AC21 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#A1AC21
RGBrgb(161, 172, 33)
HSLhsl(65, 68%, 40%)
HSVhsv(65, 81%, 67%)
CMYKcmyk(6.4%, 0%, 80.8%, 32.5%)
CIE-LABlab(67.42, -20.18, 63.51)
CIE-LCHlch(67.42, 66.64, 107.63°)
OKLaboklab(71.23% -0.0625 0.1379)
OKLCHoklch(71.23% 0.151 114.4)
XYZxyz(29.7259, 37.1925, 7.0515)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AC21 #2C21AC
analogous
#AC7121 #A1AC21 #5CAC21
triadic
#A1AC21 #21A1AC #AC21A1
tetradic
#A1AC21 #21AC71 #2C21AC #AC215C
square
#A1AC21 #21AC71 #2C21AC #AC215C
split-complementary
#A1AC21 #215CAC #7121AC
monochromatic
#41450D #717917 #A1AC21 #CBD832 #D8E266

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1AC21#FFFFFF#000000##000000
##A1AC211.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)
#B9A52F
Tritanopia (blue-blind)
#ACA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a1ac21;
/* rgb */ color: rgb(161, 172, 33);
/* oklch */ color: oklch(71.2% 0.151 114.4);
Tailwind
colors: {
  custom: {
    50: '#c1c46a',
    500: '#a1ac21',
    950: '#000000',
  },
}
SCSS
$custom: #a1ac21;
$custom-light: #c1c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ac21",
  "rgb": {
    "r": 161,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 64.748,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.71225,
    "c": 0.15137,
    "h": 114.4
  },
  "luminance": 0.37192
}

Semantic roles & 50–950 ramp

primary
#A1AC21
secondary
#6A62C7
accent
#3DEB4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1AC21

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

Preview Lab → · Contrast checker → · Palette generator →

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