#A8AC20#A8AC20

#A8AC20 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.8% C 0.150 H 111.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#A8AC20
RGBrgb(168, 172, 32)
HSLhsl(62, 69%, 40%)
HSVhsv(62, 81%, 67%)
CMYKcmyk(2.3%, 0%, 81.4%, 32.5%)
CIE-LABlab(67.97, -17.18, 64.48)
CIE-LCHlch(67.97, 66.73, 104.92°)
OKLaboklab(71.8% -0.0546 0.1395)
OKLCHoklch(71.8% 0.15 111.4)
XYZxyz(31.1628, 37.9350, 7.0468)
Luminance0.3793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AC20 #2420AC
analogous
#AC6A20 #A8AC20 #62AC20
triadic
#A8AC20 #20A8AC #AC20A8
tetradic
#A8AC20 #20AC6A #2420AC #AC2062
square
#A8AC20 #20AC6A #2420AC #AC2062
split-complementary
#A8AC20 #2062AC #6A20AC
monochromatic
#43450D #767816 #A8AC20 #D4D931 #DFE264

Accessibility & contrast

On white

2.45
#A8AC20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#A8AC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AC20
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AC20#FFFFFF#000000##000000
##A8AC201.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BBA72E
Tritanopia (blue-blind)
#B4A193
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a8ac20;
/* rgb */ color: rgb(168, 172, 32);
/* oklch */ color: oklch(71.8% 0.150 111.4);
Tailwind
colors: {
  custom: {
    50: '#c6c46a',
    500: '#a8ac20',
    950: '#000000',
  },
}
SCSS
$custom: #a8ac20;
$custom-light: #c6c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ac20",
  "rgb": {
    "r": 168,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 61.714,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.71802,
    "c": 0.1498,
    "h": 111.4
  },
  "luminance": 0.37934
}

Semantic roles & 50–950 ramp

primary
#A8AC20
secondary
#6360C7
accent
#3CEB41
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8AC20

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

Preview Lab → · Contrast checker → · Palette generator →

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