#AC8C28#AC8C28

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

Color values

HEX#AC8C28
RGBrgb(172, 140, 40)
HSLhsl(45, 62%, 42%)
HSVhsv(45, 77%, 67%)
CMYKcmyk(0%, 18.6%, 76.7%, 32.5%)
CIE-LABlab(59.60, 1.91, 54.49)
CIE-LCHlch(59.60, 54.53, 87.99°)
OKLaboklab(65.25% -0.0004 0.1195)
OKLCHoklch(65.25% 0.119 90.2)
XYZxyz(26.7759, 27.6817, 5.9399)
Luminance0.2768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8C28 #2848AC
analogous
#AC4A28 #AC8C28 #8AAC28
triadic
#AC8C28 #28AC8C #8C28AC
tetradic
#AC8C28 #28AC4A #2848AC #AC288A
square
#AC8C28 #28AC4A #2848AC #AC288A
split-complementary
#AC8C28 #288AAC #4A28AC
monochromatic
#493B11 #7A641C #AC8C28 #D2AF3F #DEC371

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC8C28#FFFFFF#000000##000000
##AC8C281.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)
#9C8A16
Deuteranopia (green-blind)
#A4932E
Tritanopia (blue-blind)
#BB8079
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac8c28;
/* rgb */ color: rgb(172, 140, 40);
/* oklch */ color: oklch(65.2% 0.119 90.2);
Tailwind
colors: {
  custom: {
    50: '#c9ad6a',
    500: '#ac8c28',
    950: '#000000',
  },
}
SCSS
$custom: #ac8c28;
$custom-light: #c9ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8c28",
  "rgb": {
    "r": 172,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 45.455,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65248,
    "c": 0.11947,
    "h": 90.2
  },
  "luminance": 0.2768
}

Semantic roles & 50–950 ramp

primary
#AC8C28
secondary
#6B81C5
accent
#6AE542
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AC8C28

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

Preview Lab → · Contrast checker → · Palette generator →

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