#ACAC2D#ACAC2D

#ACAC2D is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.2% C 0.142 H 109.5°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#ACAC2D
RGBrgb(172, 172, 45)
HSLhsl(60, 59%, 43%)
HSVhsv(60, 74%, 67%)
CMYKcmyk(0%, 0%, 73.8%, 32.5%)
CIE-LABlab(68.36, -14.93, 60.96)
CIE-LCHlch(68.36, 62.77, 103.76°)
OKLaboklab(72.21% -0.0475 0.1342)
OKLCHoklch(72.21% 0.142 109.5)
XYZxyz(32.2406, 38.4661, 8.2085)
Luminance0.3846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAC2D #2D2DAC
analogous
#AC6C2D #ACAC2D #6CAC2D
triadic
#ACAC2D #2DACAC #AC2DAC
tetradic
#ACAC2D #2DAC6C #2D2DAC #AC2D6C
square
#ACAC2D #2DAC6C #2D2DAC #AC2D6C
split-complementary
#ACAC2D #2D6CAC #6C2DAC
monochromatic
#4B4B14 #7B7B20 #ACAC2D #CFCF47 #DCDC78

Accessibility & contrast

On white

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

On black

8.69
#ACAC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAC2D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAC2D#FFFFFF#000000##000000
##ACAC2D1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA512
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#B8A194
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #acac2d;
/* rgb */ color: rgb(172, 172, 45);
/* oklch */ color: oklch(72.2% 0.142 109.5);
Tailwind
colors: {
  custom: {
    50: '#c8c470',
    500: '#acac2d',
    950: '#000000',
  },
}
SCSS
$custom: #acac2d;
$custom-light: #c8c470;
$custom-dark: #000000;
JSON
{
  "hex": "#acac2d",
  "rgb": {
    "r": 172,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72214,
    "c": 0.14236,
    "h": 109.5
  },
  "luminance": 0.38465
}

Semantic roles & 50–950 ramp

primary
#ACAC2D
secondary
#7171C4
accent
#46E246
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ACAC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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