#AC8F28#AC8F28

#AC8F28 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.9% C 0.121 H 92.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AC8F28
RGBrgb(172, 143, 40)
HSLhsl(47, 62%, 42%)
HSVhsv(47, 77%, 67%)
CMYKcmyk(0%, 16.9%, 76.7%, 32.5%)
CIE-LABlab(60.40, 0.26, 55.25)
CIE-LCHlch(60.40, 55.25, 89.73°)
OKLaboklab(65.88% -0.0051 0.1211)
OKLCHoklch(65.88% 0.121 92.4)
XYZxyz(27.2203, 28.5704, 6.0880)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8F28 #2845AC
analogous
#AC4D28 #AC8F28 #87AC28
triadic
#AC8F28 #28AC8F #8F28AC
tetradic
#AC8F28 #28AC4D #2845AC #AC2887
square
#AC8F28 #28AC4D #2845AC #AC2887
split-complementary
#AC8F28 #2887AC #4D28AC
monochromatic
#493C11 #7A661C #AC8F28 #D2B23F #DEC671

Accessibility & contrast

On white

3.13
#AC8F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#AC8F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC8F28
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8F28#FFFFFF#000000##000000
##AC8F281.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D15
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#BA837B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ac8f28;
/* rgb */ color: rgb(172, 143, 40);
/* oklch */ color: oklch(65.9% 0.121 92.4);
Tailwind
colors: {
  custom: {
    50: '#c9af6a',
    500: '#ac8f28',
    950: '#000000',
  },
}
SCSS
$custom: #ac8f28;
$custom-light: #c9af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8f28",
  "rgb": {
    "r": 172,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 46.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6588,
    "c": 0.12119,
    "h": 92.4
  },
  "luminance": 0.28569
}

Semantic roles & 50–950 ramp

primary
#AC8F28
secondary
#6B7FC5
accent
#66E542
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AC8F28

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

Preview Lab → · Contrast checker → · Palette generator →

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