#ACAC2F#ACAC2F

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

Color values

HEX#ACAC2F
RGBrgb(172, 172, 47)
HSLhsl(60, 57%, 43%)
HSVhsv(60, 73%, 67%)
CMYKcmyk(0%, 0%, 72.7%, 32.5%)
CIE-LABlab(68.37, -14.84, 60.28)
CIE-LCHlch(68.37, 62.08, 103.83°)
OKLaboklab(72.23% -0.0471 0.1331)
OKLCHoklch(72.23% 0.141 109.5)
XYZxyz(32.2800, 38.4819, 8.4161)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAC2F #2F2FAC
analogous
#AC6D2F #ACAC2F #6DAC2F
triadic
#ACAC2F #2FACAC #AC2FAC
tetradic
#ACAC2F #2FAC6D #2F2FAC #AC2F6D
square
#ACAC2F #2FAC6D #2F2FAC #AC2F6D
split-complementary
#ACAC2F #2F6DAC #6D2FAC
monochromatic
#4C4C15 #7C7C22 #ACAC2F #CECE4B #DBDB7B

Accessibility & contrast

On white

2.41
#ACAC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#ACAC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAC2F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAC2F#FFFFFF#000000##000000
##ACAC2F1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #acac2f;
/* rgb */ color: rgb(172, 172, 47);
/* oklch */ color: oklch(72.2% 0.141 109.5);
Tailwind
colors: {
  custom: {
    50: '#c8c471',
    500: '#acac2f',
    950: '#000000',
  },
}
SCSS
$custom: #acac2f;
$custom-light: #c8c471;
$custom-dark: #000000;
JSON
{
  "hex": "#acac2f",
  "rgb": {
    "r": 172,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72227,
    "c": 0.14118,
    "h": 109.5
  },
  "luminance": 0.38481
}

Semantic roles & 50–950 ramp

primary
#ACAC2F
secondary
#7474C3
accent
#47E047
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ACAC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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