#AC8B28#AC8B28

#AC8B28 is a light, moderate yellow. Relative luminance 0.274; OKLCH L 65.0% C 0.119 H 89.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AC8B28
RGBrgb(172, 139, 40)
HSLhsl(45, 62%, 42%)
HSVhsv(45, 77%, 67%)
CMYKcmyk(0%, 19.2%, 76.7%, 32.5%)
CIE-LABlab(59.33, 2.46, 54.24)
CIE-LCHlch(59.33, 54.30, 87.40°)
OKLaboklab(65.04% 0.0012 0.1189)
OKLCHoklch(65.04% 0.119 89.4)
XYZxyz(26.6305, 27.3908, 5.8914)
Luminance0.2739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8B28 #2849AC
analogous
#AC4928 #AC8B28 #8BAC28
triadic
#AC8B28 #28AC8B #8B28AC
tetradic
#AC8B28 #28AC49 #2849AC #AC288B
square
#AC8B28 #28AC49 #2849AC #AC288B
split-complementary
#AC8B28 #288BAC #4928AC
monochromatic
#493B11 #7A631C #AC8B28 #D2AD3F #DEC371

Accessibility & contrast

On white

3.24
#AC8B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#AC8B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC8B28
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8B28#FFFFFF#000000##000000
##AC8B281.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A17
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#BB7F78
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac8b28;
/* rgb */ color: rgb(172, 139, 40);
/* oklch */ color: oklch(65.0% 0.119 89.4);
Tailwind
colors: {
  custom: {
    50: '#c9ac6a',
    500: '#ac8b28',
    950: '#000000',
  },
}
SCSS
$custom: #ac8b28;
$custom-light: #c9ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8b28",
  "rgb": {
    "r": 172,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 45,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65039,
    "c": 0.11894,
    "h": 89.4
  },
  "luminance": 0.27389
}

Semantic roles & 50–950 ramp

primary
#AC8B28
secondary
#6B81C5
accent
#6BE542
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AC8B28

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

Preview Lab → · Contrast checker → · Palette generator →

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