#AC8F2A#AC8F2A

#AC8F2A is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.9% C 0.120 H 92.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#AC8F2A
RGBrgb(172, 143, 42)
HSLhsl(47, 61%, 42%)
HSVhsv(47, 76%, 67%)
CMYKcmyk(0%, 16.9%, 75.6%, 32.5%)
CIE-LABlab(60.41, 0.35, 54.51)
CIE-LCHlch(60.41, 54.51, 89.63°)
OKLaboklab(65.89% -0.0047 0.1199)
OKLCHoklch(65.89% 0.12 92.2)
XYZxyz(27.2552, 28.5844, 6.2718)
Luminance0.2858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8F2A #2A47AC
analogous
#AC4E2A #AC8F2A #88AC2A
triadic
#AC8F2A #2AAC8F #8F2AAC
tetradic
#AC8F2A #2AAC4E #2A47AC #AC2A88
square
#AC8F2A #2AAC4E #2A47AC #AC2A88
split-complementary
#AC8F2A #2A88AC #4E2AAC
monochromatic
#4A3D12 #7B661E #AC8F2A #D1B142 #DDC573

Accessibility & contrast

On white

3.13
#AC8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#AC8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC8F2A
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8F2A#FFFFFF#000000##000000
##AC8F2A1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D19
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#BA837B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ac8f2a;
/* rgb */ color: rgb(172, 143, 42);
/* oklch */ color: oklch(65.9% 0.120 92.2);
Tailwind
colors: {
  custom: {
    50: '#c9af6b',
    500: '#ac8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #ac8f2a;
$custom-light: #c9af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8f2a",
  "rgb": {
    "r": 172,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 46.615,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65894,
    "c": 0.12,
    "h": 92.2
  },
  "luminance": 0.28583
}

Semantic roles & 50–950 ramp

primary
#AC8F2A
secondary
#6D81C4
accent
#68E444
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AC8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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