#A2AC20#A2AC20

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

Color values

HEX#A2AC20
RGBrgb(162, 172, 32)
HSLhsl(64, 69%, 40%)
HSVhsv(64, 81%, 67%)
CMYKcmyk(5.8%, 0%, 81.4%, 32.5%)
CIE-LABlab(67.50, -19.78, 63.88)
CIE-LCHlch(67.50, 66.87, 107.21°)
OKLaboklab(71.3% -0.0615 0.1384)
OKLCHoklch(71.3% 0.151 114)
XYZxyz(29.9145, 37.2913, 6.9883)
Luminance0.3729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC20 #2A20AC
analogous
#AC7020 #A2AC20 #5CAC20
triadic
#A2AC20 #20A2AC #AC20A2
tetradic
#A2AC20 #20AC70 #2A20AC #AC205C
square
#A2AC20 #20AC70 #2A20AC #AC205C
split-complementary
#A2AC20 #205CAC #7020AC
monochromatic
#41450D #717816 #A2AC20 #CDD931 #D9E264

Accessibility & contrast

On white

2.48
#A2AC20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#A2AC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AC20
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AC20#FFFFFF#000000##000000
##A2AC201.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2ac20;
/* rgb */ color: rgb(162, 172, 32);
/* oklch */ color: oklch(71.3% 0.151 114.0);
Tailwind
colors: {
  custom: {
    50: '#c1c46a',
    500: '#a2ac20',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac20;
$custom-light: #c1c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac20",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 64.286,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.71302,
    "c": 0.15149,
    "h": 114
  },
  "luminance": 0.37291
}

Semantic roles & 50–950 ramp

primary
#A2AC20
secondary
#6860C7
accent
#3CEB49
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AC20

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

Preview Lab → · Contrast checker → · Palette generator →

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