#A4AC21#A4AC21

#A4AC21 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.5% C 0.150 H 113.1°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#A4AC21
RGBrgb(164, 172, 33)
HSLhsl(63, 68%, 40%)
HSVhsv(63, 81%, 67%)
CMYKcmyk(4.7%, 0%, 80.8%, 32.5%)
CIE-LABlab(67.66, -18.88, 63.81)
CIE-LCHlch(67.66, 66.55, 106.48°)
OKLaboklab(71.47% -0.0591 0.1384)
OKLCHoklch(71.47% 0.15 113.1)
XYZxyz(30.3379, 37.5081, 7.0802)
Luminance0.3751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AC21 #2921AC
analogous
#AC6E21 #A4AC21 #5FAC21
triadic
#A4AC21 #21A4AC #AC21A4
tetradic
#A4AC21 #21AC6E #2921AC #AC215F
square
#A4AC21 #21AC6E #2921AC #AC215F
split-complementary
#A4AC21 #215FAC #6E21AC
monochromatic
#42450D #737917 #A4AC21 #CED832 #DAE266

Accessibility & contrast

On white

2.47
#A4AC21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#A4AC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AC21
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AC21#FFFFFF#000000##000000
##A4AC211.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B9A62F
Tritanopia (blue-blind)
#B0A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a4ac21;
/* rgb */ color: rgb(164, 172, 33);
/* oklch */ color: oklch(71.5% 0.150 113.1);
Tailwind
colors: {
  custom: {
    50: '#c3c46a',
    500: '#a4ac21',
    950: '#000000',
  },
}
SCSS
$custom: #a4ac21;
$custom-light: #c3c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4ac21",
  "rgb": {
    "r": 164,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 63.453,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.71472,
    "c": 0.15047,
    "h": 113.1
  },
  "luminance": 0.37507
}

Semantic roles & 50–950 ramp

primary
#A4AC21
secondary
#6862C7
accent
#3DEB47
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4AC21

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

Preview Lab → · Contrast checker → · Palette generator →

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