#AC8F26#AC8F26

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

Color values

HEX#AC8F26
RGBrgb(172, 143, 38)
HSLhsl(47, 64%, 41%)
HSVhsv(47, 78%, 67%)
CMYKcmyk(0%, 16.9%, 77.9%, 32.5%)
CIE-LABlab(60.39, 0.18, 55.97)
CIE-LCHlch(60.39, 55.97, 89.82°)
OKLaboklab(65.87% -0.0056 0.1222)
OKLCHoklch(65.87% 0.122 92.6)
XYZxyz(27.1871, 28.5572, 5.9135)
Luminance0.2856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8F26 #2643AC
analogous
#AC4C26 #AC8F26 #86AC26
triadic
#AC8F26 #26AC8F #8F26AC
tetradic
#AC8F26 #26AC4C #2643AC #AC2686
square
#AC8F26 #26AC4C #2643AC #AC2686
split-complementary
#AC8F26 #2686AC #4C26AC
monochromatic
#483C10 #7A651B #AC8F26 #D4B33B #DFC66E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC8F26#FFFFFF#000000##000000
##AC8F261.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)
#9F8D11
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#BA837B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ac8f26;
/* rgb */ color: rgb(172, 143, 38);
/* oklch */ color: oklch(65.9% 0.122 92.6);
Tailwind
colors: {
  custom: {
    50: '#c9af69',
    500: '#ac8f26',
    950: '#000000',
  },
}
SCSS
$custom: #ac8f26;
$custom-light: #c9af69;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8f26",
  "rgb": {
    "r": 172,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 47.015,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65867,
    "c": 0.12232,
    "h": 92.6
  },
  "luminance": 0.28556
}

Semantic roles & 50–950 ramp

primary
#AC8F26
secondary
#687DC5
accent
#65E741
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AC8F26

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

Preview Lab → · Contrast checker → · Palette generator →

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