#AC7E21

A color in the Orange, Brown family

#ac7e21 is a color in the Orange, Brown family: RGB(172, 126, 33), HSL(40°, 68%, 40%), CMYK(0%, 27%, 81%, 33%). Closest named color: darkgoldenrod. Contrast is 3.65:1 on white and 5.76:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ac7e21
RGBrgb(172 126 33)
RGB (legacy)rgb(172, 126, 33)
RGB %rgb(67% 49% 13%)
HSLhsl(40 68% 40%)
HSV / HSBhsv(40, 81%, 67%)
HWBhwb(40 13% 33%)
CMYKcmyk(0%, 27%, 81%, 33%)
CIELAB (D50)lab(56.32 12.32 53.72)
LCHlch(56.32 55.11 77.09)
OKLaboklab(0.6232 0.0204 0.1161)
OKLCHoklch(0.6232 0.1179 80.04)
Decimal11304481

Properties

Color ToneOrange, Brown
Closest named colordarkgoldenrod ΔE 3.2
Closest web-safe color#996633
Hue40°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)40%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)51% / 51%
Relative luminance (WCAG)0.238
Red / Green / Blue172 / 126 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.65:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.76: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 63.8 / -37.8 · As background with white / black text: Lc -69.3 / 40.2

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: #ac7e21;
  --color-brand-oklch: oklch(62.32% 0.1179 80.04);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(172 126 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ac7e21] text-[#ac7e21] border-[#ac7e21]">