#AC942B#AC942B

#AC942B is a light, vivid yellow. Relative luminance 0.301; OKLCH L 67.0% C 0.123 H 95.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#AC942B
RGBrgb(172, 148, 43)
HSLhsl(49, 60%, 42%)
HSVhsv(49, 75%, 67%)
CMYKcmyk(0%, 14%, 75%, 32.5%)
CIE-LABlab(61.76, -2.33, 55.42)
CIE-LCHlch(61.76, 55.47, 92.41°)
OKLaboklab(66.96% -0.0122 0.1221)
OKLCHoklch(66.96% 0.123 95.7)
XYZxyz(28.0407, 30.1264, 6.6230)
Luminance0.3013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC942B #2B43AC
analogous
#AC532B #AC942B #84AC2B
triadic
#AC942B #2BAC94 #942BAC
tetradic
#AC942B #2BAC53 #2B43AC #AC2B84
square
#AC942B #2BAC53 #2B43AC #AC2B84
split-complementary
#AC942B #2B84AC #532BAC
monochromatic
#4A4013 #7B6A1F #AC942B #D0B644 #DCC975

Accessibility & contrast

On white

2.99
#AC942B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#AC942B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC942B
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC942B#FFFFFF#000000##000000
##AC942B1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49119
Deuteranopia (green-blind)
#AA9831
Tritanopia (blue-blind)
#BA887F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ac942b;
/* rgb */ color: rgb(172, 148, 43);
/* oklch */ color: oklch(67.0% 0.123 95.7);
Tailwind
colors: {
  custom: {
    50: '#c9b36c',
    500: '#ac942b',
    950: '#000000',
  },
}
SCSS
$custom: #ac942b;
$custom-light: #c9b36c;
$custom-dark: #000000;
JSON
{
  "hex": "#ac942b",
  "rgb": {
    "r": 172,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 48.837,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66963,
    "c": 0.12266,
    "h": 95.7
  },
  "luminance": 0.30125
}

Semantic roles & 50–950 ramp

primary
#AC942B
secondary
#6F7FC4
accent
#62E345
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AC942B

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

Preview Lab → · Contrast checker → · Palette generator →

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