#AC8E28#AC8E28

#AC8E28 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.7% C 0.121 H 91.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AC8E28
RGBrgb(172, 142, 40)
HSLhsl(46, 62%, 42%)
HSVhsv(46, 77%, 67%)
CMYKcmyk(0%, 17.4%, 76.7%, 32.5%)
CIE-LABlab(60.13, 0.81, 55.00)
CIE-LCHlch(60.13, 55.00, 89.16°)
OKLaboklab(65.67% -0.0036 0.1205)
OKLCHoklch(65.67% 0.121 91.7)
XYZxyz(27.0708, 28.2715, 6.0382)
Luminance0.2827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8E28 #2846AC
analogous
#AC4C28 #AC8E28 #88AC28
triadic
#AC8E28 #28AC8E #8E28AC
tetradic
#AC8E28 #28AC4C #2846AC #AC2888
square
#AC8E28 #28AC4C #2846AC #AC2888
split-complementary
#AC8E28 #2888AC #4C28AC
monochromatic
#493C11 #7A651C #AC8E28 #D2B13F #DEC571

Accessibility & contrast

On white

3.16
#AC8E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#AC8E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC8E28
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8E28#FFFFFF#000000##000000
##AC8E281.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C15
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#BA827A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac8e28;
/* rgb */ color: rgb(172, 142, 40);
/* oklch */ color: oklch(65.7% 0.121 91.7);
Tailwind
colors: {
  custom: {
    50: '#c9ae6a',
    500: '#ac8e28',
    950: '#000000',
  },
}
SCSS
$custom: #ac8e28;
$custom-light: #c9ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8e28",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 46.364,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65669,
    "c": 0.12059,
    "h": 91.7
  },
  "luminance": 0.2827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8E28

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

Preview Lab → · Contrast checker → · Palette generator →

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