#AC8D28#AC8D28

#AC8D28 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.5% C 0.120 H 90.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AC8D28
RGBrgb(172, 141, 40)
HSLhsl(46, 62%, 42%)
HSVhsv(46, 77%, 67%)
CMYKcmyk(0%, 18%, 76.7%, 32.5%)
CIE-LABlab(59.87, 1.36, 54.74)
CIE-LCHlch(59.87, 54.76, 88.58°)
OKLaboklab(65.46% -0.002 0.12)
OKLCHoklch(65.46% 0.12 90.9)
XYZxyz(26.9227, 27.9753, 5.9888)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8D28 #2847AC
analogous
#AC4B28 #AC8D28 #89AC28
triadic
#AC8D28 #28AC8D #8D28AC
tetradic
#AC8D28 #28AC4B #2847AC #AC2889
square
#AC8D28 #28AC4B #2847AC #AC2889
split-complementary
#AC8D28 #2889AC #4B28AC
monochromatic
#493C11 #7A641C #AC8D28 #D2B03F #DEC471

Accessibility & contrast

On white

3.18
#AC8D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#AC8D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC8D28
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8D28#FFFFFF#000000##000000
##AC8D281.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B16
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#BA8179
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac8d28;
/* rgb */ color: rgb(172, 141, 40);
/* oklch */ color: oklch(65.5% 0.120 90.9);
Tailwind
colors: {
  custom: {
    50: '#c9ae6a',
    500: '#ac8d28',
    950: '#000000',
  },
}
SCSS
$custom: #ac8d28;
$custom-light: #c9ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8d28",
  "rgb": {
    "r": 172,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 45.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65458,
    "c": 0.12003,
    "h": 90.9
  },
  "luminance": 0.27974
}

Semantic roles & 50–950 ramp

primary
#AC8D28
secondary
#6B80C5
accent
#69E542
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AC8D28

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

Preview Lab → · Contrast checker → · Palette generator →

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