#9AAA52

A color in the Yellow, Gold family

#9aaa52 is a color in the Yellow, Gold family: RGB(154, 170, 82), HSL(71°, 35%, 49%), CMYK(9%, 0%, 52%, 33%). Closest named color: darkkhaki. Contrast is 2.55:1 on white and 8.25:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#9aaa52
RGBrgb(154 170 82)
RGB (legacy)rgb(154, 170, 82)
RGB %rgb(60% 67% 32%)
HSLhsl(71 35% 49%)
HSV / HSBhsv(71, 52%, 67%)
HWBhwb(71 32% 33%)
CMYKcmyk(9%, 0%, 52%, 33%)
CIELAB (D50)lab(66.91 -15.68 42.75)
LCHlch(66.91 45.53 110.14)
OKLaboklab(0.7063 -0.054 0.1017)
OKLCHoklch(0.7063 0.1151 117.98)
Decimal10136146

Properties

Color ToneYellow, Gold
Closest named colordarkkhaki ΔE 6.8
Closest web-safe color#999966
Hue71°
Saturation (HSL / HSV)35% / 52%
Lightness (HSL)49%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)61% / 63%
Relative luminance (WCAG)0.3623
Red / Green / Blue154 / 170 / 82

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.55:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.25: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 49.8 / -52.1 · As background with white / black text: Lc -54.9 / 54.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: #9aaa52;
  --color-brand-oklch: oklch(70.63% 0.1151 117.98);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(154 170 82 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9aaa52] text-[#9aaa52] border-[#9aaa52]">