#8A8521

A color in the Yellow, Gold family

#8a8521 is a color in the Yellow, Gold family: RGB(138, 133, 33), HSL(57°, 61%, 34%), CMYK(0%, 4%, 76%, 46%). Closest named color: olive. Contrast is 3.85:1 on white and 5.46:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a8521
RGBrgb(138 133 33)
RGB (legacy)rgb(138, 133, 33)
RGB %rgb(54% 52% 13%)
HSLhsl(57 61% 34%)
HSV / HSBhsv(57, 76%, 54%)
HWBhwb(57 13% 46%)
CMYKcmyk(0%, 4%, 76%, 46%)
CIELAB (D50)lab(54.62 -6.78 50.59)
LCHlch(54.62 51.04 97.63)
OKLaboklab(0.6029 -0.0332 0.112)
OKLCHoklch(0.6029 0.1168 106.49)
Decimal9078049

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 2.5
Closest web-safe color#999933
Hue57°
Saturation (HSL / HSV)61% / 76%
Lightness (HSL)34%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)48% / 50%
Relative luminance (WCAG)0.2229
Red / Green / Blue138 / 133 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.85:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.46: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 65.9 / -35.8 · As background with white / black text: Lc -71.4 / 38.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: #8a8521;
  --color-brand-oklch: oklch(60.29% 0.1168 106.49);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 133 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a8521] text-[#8a8521] border-[#8a8521]">