#AC9128#AC9128

#AC9128 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.3% C 0.122 H 93.9°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#AC9128
RGBrgb(172, 145, 40)
HSLhsl(48, 62%, 42%)
HSVhsv(48, 77%, 67%)
CMYKcmyk(0%, 15.7%, 76.7%, 32.5%)
CIE-LABlab(60.94, -0.83, 55.75)
CIE-LCHlch(60.94, 55.76, 90.85°)
OKLaboklab(66.3% -0.0082 0.1222)
OKLCHoklch(66.3% 0.122 93.9)
XYZxyz(27.5232, 29.1763, 6.1890)
Luminance0.2918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9128 #2843AC
analogous
#AC4F28 #AC9128 #85AC28
triadic
#AC9128 #28AC91 #9128AC
tetradic
#AC9128 #28AC4F #2843AC #AC2885
square
#AC9128 #28AC4F #2843AC #AC2885
split-complementary
#AC9128 #2885AC #4F28AC
monochromatic
#493D11 #7A671C #AC9128 #D2B43F #DEC871

Accessibility & contrast

On white

3.07
#AC9128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#AC9128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC9128
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9128#FFFFFF#000000##000000
##AC91281.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E14
Deuteranopia (green-blind)
#A8962E
Tritanopia (blue-blind)
#BA857D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ac9128;
/* rgb */ color: rgb(172, 145, 40);
/* oklch */ color: oklch(66.3% 0.122 93.9);
Tailwind
colors: {
  custom: {
    50: '#c9b06a',
    500: '#ac9128',
    950: '#000000',
  },
}
SCSS
$custom: #ac9128;
$custom-light: #c9b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9128",
  "rgb": {
    "r": 172,
    "g": 145,
    "b": 40
  },
  "hsl": {
    "h": 47.727,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66304,
    "c": 0.12243,
    "h": 93.9
  },
  "luminance": 0.29175
}

Semantic roles & 50–950 ramp

primary
#AC9128
secondary
#6B7DC5
accent
#64E542
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AC9128

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

Preview Lab → · Contrast checker → · Palette generator →

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