#AC9829#AC9829

#AC9829 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.8% C 0.127 H 98.5°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#AC9829
RGBrgb(172, 152, 41)
HSLhsl(51, 62%, 42%)
HSVhsv(51, 76%, 67%)
CMYKcmyk(0%, 11.6%, 76.2%, 32.5%)
CIE-LABlab(62.83, -4.58, 57.17)
CIE-LCHlch(62.83, 57.35, 94.58°)
OKLaboklab(67.81% -0.0188 0.1254)
OKLCHoklch(67.81% 0.127 98.5)
XYZxyz(28.6432, 31.3887, 6.6473)
Luminance0.3139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9829 #293DAC
analogous
#AC5729 #AC9829 #7FAC29
triadic
#AC9829 #29AC98 #9829AC
tetradic
#AC9829 #29AC57 #293DAC #AC297F
square
#AC9829 #29AC57 #293DAC #AC297F
split-complementary
#AC9829 #297FAC #5729AC
monochromatic
#494111 #7B6C1D #AC9829 #D2BB41 #DDCD72

Accessibility & contrast

On white

2.89
#AC9829 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#AC9829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9829
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9829#FFFFFF#000000##000000
##AC98291.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79413
Deuteranopia (green-blind)
#AD9B30
Tritanopia (blue-blind)
#BA8C83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ac9829;
/* rgb */ color: rgb(172, 152, 41);
/* oklch */ color: oklch(67.8% 0.127 98.5);
Tailwind
colors: {
  custom: {
    50: '#c9b56b',
    500: '#ac9829',
    950: '#000000',
  },
}
SCSS
$custom: #ac9829;
$custom-light: #c9b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9829",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 41
  },
  "hsl": {
    "h": 50.84,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67807,
    "c": 0.12678,
    "h": 98.5
  },
  "luminance": 0.31387
}

Semantic roles & 50–950 ramp

primary
#AC9829
secondary
#6C7AC5
accent
#5CE543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AC9829

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

Preview Lab → · Contrast checker → · Palette generator →

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