#AA9D21

A color in the Yellow, Gold family

#aa9d21 is a color in the Yellow, Gold family: RGB(170, 157, 33), HSL(54°, 67%, 40%), CMYK(0%, 8%, 81%, 33%). Closest named color: darkgoldenrod. Contrast is 2.78:1 on white and 7.55:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#aa9d21
RGBrgb(170 157 33)
RGB (legacy)rgb(170, 157, 33)
RGB %rgb(67% 62% 13%)
HSLhsl(54 67% 40%)
HSV / HSBhsv(54, 81%, 67%)
HWBhwb(54 13% 33%)
CMYKcmyk(0%, 8%, 81%, 33%)
CIELAB (D50)lab(64.33 -4.71 60.37)
LCHlch(64.33 60.55 94.46)
OKLaboklab(0.6866 -0.0304 0.1316)
OKLCHoklch(0.6866 0.135 102.99)
Decimal11181345

Properties

Color ToneYellow, Gold
Closest named colordarkgoldenrod ΔE 6.1
Closest web-safe color#999933
Hue54°
Saturation (HSL / HSV)67% / 81%
Lightness (HSL)40%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)58% / 59%
Relative luminance (WCAG)0.3277
Red / Green / Blue170 / 157 / 33

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 53.5 / -48.4 · As background with white / black text: Lc -58.7 / 50.6

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: #aa9d21;
  --color-brand-oklch: oklch(68.66% 0.135 102.99);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 157 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aa9d21] text-[#aa9d21] border-[#aa9d21]">