#AC8D2F#AC8D2F

#AC8D2F is a light, moderate yellow. Relative luminance 0.280; OKLCH L 65.5% C 0.116 H 90.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AC8D2F
RGBrgb(172, 141, 47)
HSLhsl(45, 57%, 43%)
HSVhsv(45, 73%, 67%)
CMYKcmyk(0%, 18%, 72.7%, 32.5%)
CIE-LABlab(59.91, 1.68, 52.03)
CIE-LCHlch(59.91, 52.06, 88.15°)
OKLaboklab(65.51% -0.0003 0.1157)
OKLCHoklch(65.51% 0.116 90.1)
XYZxyz(27.0527, 28.0273, 6.6737)
Luminance0.2803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8D2F #2F4EAC
analogous
#AC4E2F #AC8D2F #8CAC2F
triadic
#AC8D2F #2FAC8D #8D2FAC
tetradic
#AC8D2F #2FAC4E #2F4EAC #AC2F8C
square
#AC8D2F #2FAC4E #2F4EAC #AC2F8C
split-complementary
#AC8D2F #2F8CAC #4E2FAC
monochromatic
#4C3E15 #7C6622 #AC8D2F #CEAD4B #DBC37B

Accessibility & contrast

On white

3.18
#AC8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#AC8D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC8D2F
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8D2F#FFFFFF#000000##000000
##AC8D2F1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B21
Deuteranopia (green-blind)
#A59434
Tritanopia (blue-blind)
#BA817A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac8d2f;
/* rgb */ color: rgb(172, 141, 47);
/* oklch */ color: oklch(65.5% 0.116 90.1);
Tailwind
colors: {
  custom: {
    50: '#c9ae6d',
    500: '#ac8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #ac8d2f;
$custom-light: #c9ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8d2f",
  "rgb": {
    "r": 172,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 45.12,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65511,
    "c": 0.11565,
    "h": 90.1
  },
  "luminance": 0.28026
}

Semantic roles & 50–950 ramp

primary
#AC8D2F
secondary
#7487C3
accent
#6DE047
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AC8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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