#A3AC21#A3AC21

#A3AC21 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.151 H 113.5°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#A3AC21
RGBrgb(163, 172, 33)
HSLhsl(64, 68%, 40%)
HSVhsv(64, 81%, 67%)
CMYKcmyk(5.2%, 0%, 80.8%, 32.5%)
CIE-LABlab(67.58, -19.32, 63.71)
CIE-LCHlch(67.58, 66.57, 106.87°)
OKLaboklab(71.39% -0.0602 0.1382)
OKLCHoklch(71.39% 0.151 113.5)
XYZxyz(30.1323, 37.4020, 7.0706)
Luminance0.3740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AC21 #2A21AC
analogous
#AC7021 #A3AC21 #5DAC21
triadic
#A3AC21 #21A3AC #AC21A3
tetradic
#A3AC21 #21AC70 #2A21AC #AC215D
square
#A3AC21 #21AC70 #2A21AC #AC215D
split-complementary
#A3AC21 #215DAC #7021AC
monochromatic
#42450D #727917 #A3AC21 #CDD832 #DAE266

Accessibility & contrast

On white

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

On black

8.48
#A3AC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AC21
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AC21#FFFFFF#000000##000000
##A3AC211.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a3ac21;
/* rgb */ color: rgb(163, 172, 33);
/* oklch */ color: oklch(71.4% 0.151 113.5);
Tailwind
colors: {
  custom: {
    50: '#c2c46a',
    500: '#a3ac21',
    950: '#000000',
  },
}
SCSS
$custom: #a3ac21;
$custom-light: #c2c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#a3ac21",
  "rgb": {
    "r": 163,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 63.885,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.71389,
    "c": 0.15076,
    "h": 113.5
  },
  "luminance": 0.37401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A3AC21

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

Preview Lab → · Contrast checker → · Palette generator →

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