#AC8A23#AC8A23

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

Color values

HEX#AC8A23
RGBrgb(172, 138, 35)
HSLhsl(45, 66%, 41%)
HSVhsv(45, 80%, 67%)
CMYKcmyk(0%, 19.8%, 79.7%, 32.5%)
CIE-LABlab(59.04, 2.81, 55.79)
CIE-LCHlch(59.04, 55.86, 87.11°)
OKLaboklab(64.8% 0.0016 0.1212)
OKLCHoklch(64.8% 0.121 89.2)
XYZxyz(26.4067, 27.0707, 5.4241)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8A23 #2345AC
analogous
#AC4523 #AC8A23 #8AAC23
triadic
#AC8A23 #23AC8A #8A23AC
tetradic
#AC8A23 #23AC45 #2345AC #AC238A
square
#AC8A23 #23AC45 #2345AC #AC238A
split-complementary
#AC8A23 #238AAC #4523AC
monochromatic
#46380E #796119 #AC8A23 #D6AE36 #E0C369

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC8A23#FFFFFF#000000##000000
##AC8A231.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)
#9B890D
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#BB7D76
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ac8a23;
/* rgb */ color: rgb(172, 138, 35);
/* oklch */ color: oklch(64.8% 0.121 89.2);
Tailwind
colors: {
  custom: {
    50: '#c9ab67',
    500: '#ac8a23',
    950: '#000000',
  },
}
SCSS
$custom: #ac8a23;
$custom-light: #c9ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8a23",
  "rgb": {
    "r": 172,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 45.109,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64798,
    "c": 0.12118,
    "h": 89.2
  },
  "luminance": 0.27069
}

Semantic roles & 50–950 ramp

primary
#AC8A23
secondary
#647DC6
accent
#69E93F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #AC8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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