#A6AC20#A6AC20

#A6AC20 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.6% C 0.150 H 112.3°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#A6AC20
RGBrgb(166, 172, 32)
HSLhsl(63, 69%, 40%)
HSVhsv(63, 81%, 67%)
CMYKcmyk(3.5%, 0%, 81.4%, 32.5%)
CIE-LABlab(67.81, -18.05, 64.28)
CIE-LCHlch(67.81, 66.77, 105.68°)
OKLaboklab(71.63% -0.0569 0.1391)
OKLCHoklch(71.63% 0.15 112.3)
XYZxyz(30.7402, 37.7171, 7.0270)
Luminance0.3772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC20 #2620AC
analogous
#AC6C20 #A6AC20 #60AC20
triadic
#A6AC20 #20A6AC #AC20A6
tetradic
#A6AC20 #20AC6C #2620AC #AC2060
square
#A6AC20 #20AC6C #2620AC #AC2060
split-complementary
#A6AC20 #2060AC #6C20AC
monochromatic
#42450D #747816 #A6AC20 #D1D931 #DDE264

Accessibility & contrast

On white

2.46
#A6AC20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#A6AC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AC20
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AC20#FFFFFF#000000##000000
##A6AC201.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BAA72E
Tritanopia (blue-blind)
#B2A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ac20;
/* rgb */ color: rgb(166, 172, 32);
/* oklch */ color: oklch(71.6% 0.150 112.3);
Tailwind
colors: {
  custom: {
    50: '#c4c46a',
    500: '#a6ac20',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac20;
$custom-light: #c4c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac20",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 62.571,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.71634,
    "c": 0.15032,
    "h": 112.3
  },
  "luminance": 0.37716
}

Semantic roles & 50–950 ramp

primary
#A6AC20
secondary
#6560C7
accent
#3CEB44
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6AC20

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

Preview Lab → · Contrast checker → · Palette generator →

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