#AC8F27#AC8F27

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

Color values

HEX#AC8F27
RGBrgb(172, 143, 39)
HSLhsl(47, 63%, 41%)
HSVhsv(47, 77%, 67%)
CMYKcmyk(0%, 16.9%, 77.3%, 32.5%)
CIE-LABlab(60.39, 0.22, 55.61)
CIE-LCHlch(60.39, 55.61, 89.77°)
OKLaboklab(65.87% -0.0053 0.1216)
OKLCHoklch(65.87% 0.122 92.5)
XYZxyz(27.2035, 28.5637, 5.9996)
Luminance0.2856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8F27 #2744AC
analogous
#AC4D27 #AC8F27 #87AC27
triadic
#AC8F27 #27AC8F #8F27AC
tetradic
#AC8F27 #27AC4D #2744AC #AC2787
square
#AC8F27 #27AC4D #2744AC #AC2787
split-complementary
#AC8F27 #2787AC #4D27AC
monochromatic
#483C10 #7A661C #AC8F27 #D3B23D #DEC66F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC8F27#FFFFFF#000000##000000
##AC8F271.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)
#9F8D13
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#BA837B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ac8f27;
/* rgb */ color: rgb(172, 143, 39);
/* oklch */ color: oklch(65.9% 0.122 92.5);
Tailwind
colors: {
  custom: {
    50: '#c9af69',
    500: '#ac8f27',
    950: '#000000',
  },
}
SCSS
$custom: #ac8f27;
$custom-light: #c9af69;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8f27",
  "rgb": {
    "r": 172,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 46.917,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65873,
    "c": 0.12176,
    "h": 92.5
  },
  "luminance": 0.28562
}

Semantic roles & 50–950 ramp

primary
#AC8F27
secondary
#6A7EC5
accent
#66E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AC8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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