#AC8E21

A color in the Yellow, Gold family

#ac8e21 is a color in the Yellow, Gold family: RGB(172, 142, 33), HSL(47°, 68%, 40%), CMYK(0%, 17%, 81%, 33%). Closest named color: darkgoldenrod. Contrast is 3.16:1 on white and 6.65:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ac8e21
RGBrgb(172 142 33)
RGB (legacy)rgb(172, 142, 33)
RGB %rgb(67% 56% 13%)
HSLhsl(47 68% 40%)
HSV / HSBhsv(47, 81%, 67%)
HWBhwb(47 13% 33%)
CMYKcmyk(0%, 17%, 81%, 33%)
CIELAB (D50)lab(60.48 3.88 57.24)
LCHlch(60.48 57.37 86.13)
OKLaboklab(0.6563 -0.005 0.1242)
OKLCHoklch(0.6563 0.1243 92.33)
Decimal11308577

Properties

Color ToneYellow, Gold
Closest named colordarkgoldenrod ΔE 2.6
Closest web-safe color#999933
Hue47°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)40%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)54% / 55%
Relative luminance (WCAG)0.2823
Red / Green / Blue172 / 142 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.16:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.65:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 58.6 / -43.2 · As background with white / black text: Lc -64 / 45.5

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #ac8e21;
  --color-brand-oklch: oklch(65.63% 0.1243 92.33);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(172 142 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ac8e21] text-[#ac8e21] border-[#ac8e21]">