#AAAD21

A color in the Yellow, Gold family

#aaad21 is a color in the Yellow, Gold family: RGB(170, 173, 33), HSL(61°, 68%, 40%), CMYK(2%, 0%, 81%, 32%). Closest named color: darkkhaki. Contrast is 2.41:1 on white and 8.71:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#aaad21
RGBrgb(170 173 33)
RGB (legacy)rgb(170, 173, 33)
RGB %rgb(67% 68% 13%)
HSLhsl(61 68% 40%)
HSV / HSBhsv(61, 81%, 68%)
HWBhwb(61 13% 32%)
CMYKcmyk(2%, 0%, 81%, 32%)
CIELAB (D50)lab(68.75 -12.61 64.04)
LCHlch(68.75 65.27 101.14)
OKLaboklab(0.722 -0.0535 0.14)
OKLCHoklch(0.722 0.1499 110.93)
Decimal11185441

Properties

Color ToneYellow, Gold
Closest named colordarkkhaki ΔE 7
Closest web-safe color#999933
Hue61°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)40%
Brightness or Value (HSV)68%
Luminance (Rec.601 / Rec.709)61% / 64%
Relative luminance (WCAG)0.3854
Red / Green / Blue170 / 173 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.41:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.71: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 47.3 / -54.7 · As background with white / black text: Lc -52.3 / 56.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: #aaad21;
  --color-brand-oklch: oklch(72.2% 0.1499 110.93);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 173 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aaad21] text-[#aaad21] border-[#aaad21]">