#ACAC42#ACAC42

#ACAC42 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.4% C 0.128 H 109.2°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#ACAC42
RGBrgb(172, 172, 66)
HSLhsl(60, 45%, 47%)
HSVhsv(60, 62%, 67%)
CMYKcmyk(0%, 0%, 61.6%, 32.5%)
CIE-LABlab(68.51, -13.74, 52.87)
CIE-LCHlch(68.51, 54.62, 104.57°)
OKLaboklab(72.38% -0.042 0.1206)
OKLCHoklch(72.38% 0.128 109.2)
XYZxyz(32.7502, 38.6700, 10.8921)
Luminance0.3867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAC42 #4242AC
analogous
#AC7742 #ACAC42 #77AC42
triadic
#ACAC42 #42ACAC #AC42AC
tetradic
#ACAC42 #42AC77 #4242AC #AC4277
square
#ACAC42 #42AC77 #4242AC #AC4277
split-complementary
#ACAC42 #4277AC #7742AC
monochromatic
#545420 #808031 #ACAC42 #C5C567 #D6D693

Accessibility & contrast

On white

2.40
#ACAC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#ACAC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAC42
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAC42#FFFFFF#000000##000000
##ACAC421.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A535
Deuteranopia (green-blind)
#BBA948
Tritanopia (blue-blind)
#B8A296
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #acac42;
/* rgb */ color: rgb(172, 172, 66);
/* oklch */ color: oklch(72.4% 0.128 109.2);
Tailwind
colors: {
  custom: {
    50: '#c7c47b',
    500: '#acac42',
    950: '#000000',
  },
}
SCSS
$custom: #acac42;
$custom-light: #c7c47b;
$custom-dark: #000000;
JSON
{
  "hex": "#acac42",
  "rgb": {
    "r": 172,
    "g": 172,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72381,
    "c": 0.1277,
    "h": 109.2
  },
  "luminance": 0.38669
}

Semantic roles & 50–950 ramp

primary
#ACAC42
secondary
#8989C1
accent
#54D454
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ACAC42

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

Preview Lab → · Contrast checker → · Palette generator →

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