#AC9A28#AC9A28

#AC9A28 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 68.2% C 0.129 H 99.8°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AC9A28
RGBrgb(172, 154, 40)
HSLhsl(52, 62%, 42%)
HSVhsv(52, 77%, 67%)
CMYKcmyk(0%, 10.5%, 76.7%, 32.5%)
CIE-LABlab(63.37, -5.70, 58.03)
CIE-LCHlch(63.37, 58.31, 95.61°)
OKLaboklab(68.23% -0.022 0.127)
OKLCHoklch(68.23% 0.129 99.8)
XYZxyz(28.9533, 32.0365, 6.6657)
Luminance0.3204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9A28 #283AAC
analogous
#AC5828 #AC9A28 #7CAC28
triadic
#AC9A28 #28AC9A #9A28AC
tetradic
#AC9A28 #28AC58 #283AAC #AC287C
square
#AC9A28 #28AC58 #283AAC #AC287C
split-complementary
#AC9A28 #287CAC #5828AC
monochromatic
#494111 #7A6E1C #AC9A28 #D2BE3F #DECF71

Accessibility & contrast

On white

2.84
#AC9A28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#AC9A28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9A28
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9A28#FFFFFF#000000##000000
##AC9A281.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99610
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#BA8E84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ac9a28;
/* rgb */ color: rgb(172, 154, 40);
/* oklch */ color: oklch(68.2% 0.129 99.8);
Tailwind
colors: {
  custom: {
    50: '#c9b76b',
    500: '#ac9a28',
    950: '#000000',
  },
}
SCSS
$custom: #ac9a28;
$custom-light: #c9b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9a28",
  "rgb": {
    "r": 172,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 51.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68233,
    "c": 0.1289,
    "h": 99.8
  },
  "luminance": 0.32035
}

Semantic roles & 50–950 ramp

primary
#AC9A28
secondary
#6B77C5
accent
#59E542
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AC9A28

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

Preview Lab → · Contrast checker → · Palette generator →

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