#AA9E21

A color in the Yellow, Gold family

#aa9e21 is a color in the Yellow, Gold family: RGB(170, 158, 33), HSL(55°, 67%, 40%), CMYK(0%, 7%, 81%, 33%). Closest named color: darkgoldenrod. Contrast is 2.76:1 on white and 7.62:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#aa9e21
RGBrgb(170 158 33)
RGB (legacy)rgb(170, 158, 33)
RGB %rgb(67% 62% 13%)
HSLhsl(55 67% 40%)
HSV / HSBhsv(55, 81%, 67%)
HWBhwb(55 13% 33%)
CMYKcmyk(0%, 7%, 81%, 33%)
CIELAB (D50)lab(64.6 -5.21 60.59)
LCHlch(64.6 60.82 94.92)
OKLaboklab(0.6887 -0.0318 0.1321)
OKLCHoklch(0.6887 0.1359 103.55)
Decimal11181601

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.76:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.62: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.1 / -48.8 · As background with white / black text: Lc -58.3 / 51

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