#ACAC22#ACAC22

#ACAC22 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.2% C 0.148 H 109.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#ACAC22
RGBrgb(172, 172, 34)
HSLhsl(60, 67%, 40%)
HSVhsv(60, 80%, 67%)
CMYKcmyk(0%, 0%, 80.2%, 32.5%)
CIE-LABlab(68.31, -15.36, 64.35)
CIE-LCHlch(68.31, 66.16, 103.43°)
OKLaboklab(72.15% -0.0496 0.1394)
OKLCHoklch(72.15% 0.148 109.6)
XYZxyz(32.0558, 38.3922, 7.2349)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAC22 #2222AC
analogous
#AC6722 #ACAC22 #67AC22
triadic
#ACAC22 #22ACAC #AC22AC
tetradic
#ACAC22 #22AC67 #2222AC #AC2267
square
#ACAC22 #22AC67 #2222AC #AC2267
split-complementary
#ACAC22 #2267AC #6722AC
monochromatic
#46460E #797918 #ACAC22 #D7D734 #E1E167

Accessibility & contrast

On white

2.42
#ACAC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#ACAC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAC22
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAC22#FFFFFF#000000##000000
##ACAC221.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BCA82F
Tritanopia (blue-blind)
#B9A193
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #acac22;
/* rgb */ color: rgb(172, 172, 34);
/* oklch */ color: oklch(72.2% 0.148 109.6);
Tailwind
colors: {
  custom: {
    50: '#c9c46b',
    500: '#acac22',
    950: '#000000',
  },
}
SCSS
$custom: #acac22;
$custom-light: #c9c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#acac22",
  "rgb": {
    "r": 172,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.72154,
    "c": 0.14797,
    "h": 109.6
  },
  "luminance": 0.38391
}

Semantic roles & 50–950 ramp

primary
#ACAC22
secondary
#6363C7
accent
#3EEA3E
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141207
muted
#82817A

Preview Lab

Preview with #ACAC22

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

Preview Lab → · Contrast checker → · Palette generator →

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