#AC9A2E#AC9A2E

#AC9A2E is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.3% C 0.125 H 99.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#AC9A2E
RGBrgb(172, 154, 46)
HSLhsl(51, 58%, 43%)
HSVhsv(51, 73%, 67%)
CMYKcmyk(0%, 10.5%, 73.3%, 32.5%)
CIE-LABlab(63.41, -5.43, 55.87)
CIE-LCHlch(63.41, 56.13, 95.55°)
OKLaboklab(68.27% -0.0207 0.1236)
OKLCHoklch(68.27% 0.125 99.5)
XYZxyz(29.0634, 32.0805, 7.2455)
Luminance0.3208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9A2E #2E40AC
analogous
#AC5B2E #AC9A2E #7FAC2E
triadic
#AC9A2E #2EAC9A #9A2EAC
tetradic
#AC9A2E #2EAC5B #2E40AC #AC2E7F
square
#AC9A2E #2EAC5B #2E40AC #AC2E7F
split-complementary
#AC9A2E #2E7FAC #5B2EAC
monochromatic
#4B4414 #7C6F21 #AC9A2E #CEBB49 #DBCD79

Accessibility & contrast

On white

2.83
#AC9A2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#AC9A2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9A2E
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9A2E#FFFFFF#000000##000000
##AC9A2E1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961C
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#BA8E85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ac9a2e;
/* rgb */ color: rgb(172, 154, 46);
/* oklch */ color: oklch(68.3% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#c8b76e',
    500: '#ac9a2e',
    950: '#000000',
  },
}
SCSS
$custom: #ac9a2e;
$custom-light: #c8b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9a2e",
  "rgb": {
    "r": 172,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 51.429,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68273,
    "c": 0.12531,
    "h": 99.5
  },
  "luminance": 0.32079
}

Semantic roles & 50–950 ramp

primary
#AC9A2E
secondary
#727EC3
accent
#5DE147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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