#AC8A24#AC8A24

#AC8A24 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.8% C 0.121 H 89.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AC8A24
RGBrgb(172, 138, 36)
HSLhsl(45, 65%, 41%)
HSVhsv(45, 79%, 67%)
CMYKcmyk(0%, 19.8%, 79.1%, 32.5%)
CIE-LABlab(59.05, 2.85, 55.44)
CIE-LCHlch(59.05, 55.51, 87.06°)
OKLaboklab(64.8% 0.0018 0.1206)
OKLCHoklch(64.8% 0.121 89.1)
XYZxyz(26.4218, 27.0767, 5.5034)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8A24 #2446AC
analogous
#AC4624 #AC8A24 #8AAC24
triadic
#AC8A24 #24AC8A #8A24AC
tetradic
#AC8A24 #24AC46 #2446AC #AC248A
square
#AC8A24 #24AC46 #2446AC #AC248A
split-complementary
#AC8A24 #248AAC #4624AC
monochromatic
#47390F #796119 #AC8A24 #D5AE38 #E0C36A

Accessibility & contrast

On white

3.27
#AC8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#AC8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC8A24
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8A24#FFFFFF#000000##000000
##AC8A241.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890F
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#BB7D77
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ac8a24;
/* rgb */ color: rgb(172, 138, 36);
/* oklch */ color: oklch(64.8% 0.121 89.1);
Tailwind
colors: {
  custom: {
    50: '#c9ab67',
    500: '#ac8a24',
    950: '#000000',
  },
}
SCSS
$custom: #ac8a24;
$custom-light: #c9ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8a24",
  "rgb": {
    "r": 172,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 45,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64804,
    "c": 0.12065,
    "h": 89.1
  },
  "luminance": 0.27075
}

Semantic roles & 50–950 ramp

primary
#AC8A24
secondary
#667EC6
accent
#6AE83F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #AC8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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