#AC8C2B#AC8C2B

#AC8C2B is a light, moderate yellow. Relative luminance 0.277; OKLCH L 65.3% C 0.118 H 89.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AC8C2B
RGBrgb(172, 140, 43)
HSLhsl(45, 60%, 42%)
HSVhsv(45, 75%, 67%)
CMYKcmyk(0%, 18.6%, 75%, 32.5%)
CIE-LABlab(59.62, 2.04, 53.36)
CIE-LCHlch(59.62, 53.39, 87.81°)
OKLaboklab(65.27% 0.0003 0.1177)
OKLCHoklch(65.27% 0.118 89.9)
XYZxyz(26.8289, 27.7029, 6.2191)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8C2B #2B4BAC
analogous
#AC4B2B #AC8C2B #8CAC2B
triadic
#AC8C2B #2BAC8C #8C2BAC
tetradic
#AC8C2B #2BAC4B #2B4BAC #AC2B8C
square
#AC8C2B #2BAC4B #2B4BAC #AC2B8C
split-complementary
#AC8C2B #2B8CAC #4B2BAC
monochromatic
#4A3C13 #7B641F #AC8C2B #D0AD44 #DCC375

Accessibility & contrast

On white

3.21
#AC8C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#AC8C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC8C2B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8C2B#FFFFFF#000000##000000
##AC8C2B1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A1B
Deuteranopia (green-blind)
#A49330
Tritanopia (blue-blind)
#BA8079
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac8c2b;
/* rgb */ color: rgb(172, 140, 43);
/* oklch */ color: oklch(65.3% 0.118 89.9);
Tailwind
colors: {
  custom: {
    50: '#c9ad6b',
    500: '#ac8c2b',
    950: '#000000',
  },
}
SCSS
$custom: #ac8c2b;
$custom-light: #c9ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8c2b",
  "rgb": {
    "r": 172,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 45.116,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6527,
    "c": 0.11767,
    "h": 89.9
  },
  "luminance": 0.27701
}

Semantic roles & 50–950 ramp

primary
#AC8C2B
secondary
#6F84C4
accent
#6CE345
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AC8C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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