#AC9928#AC9928

#AC9928 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.0% C 0.128 H 99.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#AC9928
RGBrgb(172, 153, 40)
HSLhsl(51, 62%, 42%)
HSVhsv(51, 77%, 67%)
CMYKcmyk(0%, 11%, 76.7%, 32.5%)
CIE-LABlab(63.10, -5.16, 57.77)
CIE-LCHlch(63.10, 58.00, 95.11°)
OKLaboklab(68.02% -0.0205 0.1265)
OKLCHoklch(68.02% 0.128 99.2)
XYZxyz(28.7889, 31.7078, 6.6109)
Luminance0.3171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9928 #283BAC
analogous
#AC5728 #AC9928 #7DAC28
triadic
#AC9928 #28AC99 #9928AC
tetradic
#AC9928 #28AC57 #283BAC #AC287D
square
#AC9928 #28AC57 #283BAC #AC287D
split-complementary
#AC9928 #287DAC #5728AC
monochromatic
#494111 #7A6D1C #AC9928 #D2BD3F #DECE71

Accessibility & contrast

On white

2.86
#AC9928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#AC9928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9928
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9928#FFFFFF#000000##000000
##AC99281.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac9928;
/* rgb */ color: rgb(172, 153, 40);
/* oklch */ color: oklch(68.0% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#c9b66b',
    500: '#ac9928',
    950: '#000000',
  },
}
SCSS
$custom: #ac9928;
$custom-light: #c9b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9928",
  "rgb": {
    "r": 172,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 51.364,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68016,
    "c": 0.12812,
    "h": 99.2
  },
  "luminance": 0.31706
}

Semantic roles & 50–950 ramp

primary
#AC9928
secondary
#6B78C5
accent
#5AE542
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AC9928

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

Preview Lab → · Contrast checker → · Palette generator →

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