#A1AB20#A1AB20

#A1AB20 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.0% C 0.151 H 114.0°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#A1AB20
RGBrgb(161, 171, 32)
HSLhsl(64, 68%, 40%)
HSVhsv(64, 81%, 67%)
CMYKcmyk(5.8%, 0%, 81.3%, 32.9%)
CIE-LABlab(67.13, -19.71, 63.53)
CIE-LCHlch(67.13, 66.52, 107.24°)
OKLaboklab(70.99% -0.0613 0.1377)
OKLCHoklch(70.99% 0.151 114)
XYZxyz(29.5225, 36.8078, 6.9156)
Luminance0.3681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AB20 #2A20AB
analogous
#AB7020 #A1AB20 #5BAB20
triadic
#A1AB20 #20A1AB #AB20A1
tetradic
#A1AB20 #20AB70 #2A20AB #AB205B
square
#A1AB20 #20AB70 #2A20AB #AB205B
split-complementary
#A1AB20 #205BAB #7020AB
monochromatic
#40440D #707716 #A1AB20 #CCD830 #D9E263

Accessibility & contrast

On white

2.51
#A1AB20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#A1AB20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AB20
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AB20#FFFFFF#000000##000000
##A1AB201.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B8A52E
Tritanopia (blue-blind)
#ACA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a1ab20;
/* rgb */ color: rgb(161, 171, 32);
/* oklch */ color: oklch(71.0% 0.151 114.0);
Tailwind
colors: {
  custom: {
    50: '#c1c36a',
    500: '#a1ab20',
    950: '#000000',
  },
}
SCSS
$custom: #a1ab20;
$custom-light: #c1c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ab20",
  "rgb": {
    "r": 161,
    "g": 171,
    "b": 32
  },
  "hsl": {
    "h": 64.317,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70992,
    "c": 0.15076,
    "h": 114
  },
  "luminance": 0.36807
}

Semantic roles & 50–950 ramp

primary
#A1AB20
secondary
#6760C7
accent
#3CEB49
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1AB20

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

Preview Lab → · Contrast checker → · Palette generator →

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