#AC8A18#AC8A18

#AC8A18 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.7% C 0.126 H 90.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AC8A18
RGBrgb(172, 138, 24)
HSLhsl(46, 76%, 38%)
HSVhsv(46, 86%, 67%)
CMYKcmyk(0%, 19.8%, 86%, 32.5%)
CIE-LABlab(58.99, 2.46, 59.16)
CIE-LCHlch(58.99, 59.21, 87.62°)
OKLaboklab(64.74% -0.0004 0.1261)
OKLCHoklch(64.74% 0.126 90.2)
XYZxyz(26.2683, 27.0153, 4.6949)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8A18 #183AAC
analogous
#AC4018 #AC8A18 #84AC18
triadic
#AC8A18 #18AC8A #8A18AC
tetradic
#AC8A18 #18AC40 #183AAC #AC1884
square
#AC8A18 #18AC40 #183AAC #AC1884
split-complementary
#AC8A18 #1884AC #4018AC
monochromatic
#413409 #765F11 #AC8A18 #E0B421 #E8C657

Accessibility & contrast

On white

3.28
#AC8A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AC8A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC8A18
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8A18#FFFFFF#000000##000000
##AC8A181.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#A39221
Tritanopia (blue-blind)
#BB7D76
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ac8a18;
/* rgb */ color: rgb(172, 138, 24);
/* oklch */ color: oklch(64.7% 0.126 90.2);
Tailwind
colors: {
  custom: {
    50: '#caab62',
    500: '#ac8a18',
    950: '#000000',
  },
}
SCSS
$custom: #ac8a18;
$custom-light: #caab62;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8a18",
  "rgb": {
    "r": 172,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 46.216,
    "s": 75.51,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64741,
    "c": 0.12611,
    "h": 90.2
  },
  "luminance": 0.27014
}

Semantic roles & 50–950 ramp

primary
#AC8A18
secondary
#5570CB
accent
#61F236
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #AC8A18

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

Preview Lab → · Contrast checker → · Palette generator →

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