#AC9228#AC9228

#AC9228 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.5% C 0.123 H 94.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AC9228
RGBrgb(172, 146, 40)
HSLhsl(48, 62%, 42%)
HSVhsv(48, 77%, 67%)
CMYKcmyk(0%, 15.1%, 76.7%, 32.5%)
CIE-LABlab(61.21, -1.38, 56.00)
CIE-LCHlch(61.21, 56.02, 91.41°)
OKLaboklab(66.52% -0.0098 0.1227)
OKLCHoklch(66.52% 0.123 94.6)
XYZxyz(27.6767, 29.4832, 6.2401)
Luminance0.2948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9228 #2842AC
analogous
#AC5028 #AC9228 #84AC28
triadic
#AC9228 #28AC92 #9228AC
tetradic
#AC9228 #28AC50 #2842AC #AC2884
square
#AC9228 #28AC50 #2842AC #AC2884
split-complementary
#AC9228 #2884AC #5028AC
monochromatic
#493E11 #7A681C #AC9228 #D2B53F #DEC871

Accessibility & contrast

On white

3.05
#AC9228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#AC9228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC9228
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9228#FFFFFF#000000##000000
##AC92281.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F14
Deuteranopia (green-blind)
#A8972F
Tritanopia (blue-blind)
#BA867E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ac9228;
/* rgb */ color: rgb(172, 146, 40);
/* oklch */ color: oklch(66.5% 0.123 94.6);
Tailwind
colors: {
  custom: {
    50: '#c9b16a',
    500: '#ac9228',
    950: '#000000',
  },
}
SCSS
$custom: #ac9228;
$custom-light: #c9b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9228",
  "rgb": {
    "r": 172,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 48.182,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66516,
    "c": 0.12308,
    "h": 94.6
  },
  "luminance": 0.29482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC9228

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

Preview Lab → · Contrast checker → · Palette generator →

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