#8A7921

A color in the Yellow, Gold family

#8a7921 is a color in the Yellow, Gold family: RGB(138, 121, 33), HSL(50°, 61%, 34%), CMYK(0%, 12%, 76%, 46%). Closest named color: olive. Contrast is 4.34:1 on white and 4.84:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a7921
RGBrgb(138 121 33)
RGB (legacy)rgb(138, 121, 33)
RGB %rgb(54% 47% 13%)
HSLhsl(50 61% 34%)
HSV / HSBhsv(50, 76%, 54%)
HWBhwb(50 13% 46%)
CMYKcmyk(0%, 12%, 76%, 46%)
CIELAB (D50)lab(51.21 -0.49 47.52)
LCHlch(51.21 47.52 90.59)
OKLaboklab(0.5756 -0.0145 0.1051)
OKLCHoklch(0.5756 0.1061 97.83)
Decimal9074977

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 3.2
Closest web-safe color#996633
Hue50°
Saturation (HSL / HSV)61% / 76%
Lightness (HSL)34%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)46% / 46%
Relative luminance (WCAG)0.1919
Red / Green / Blue138 / 121 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.34:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.84: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 70 / -31.7 · As background with white / black text: Lc -75.4 / 34.1

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: #8a7921;
  --color-brand-oklch: oklch(57.56% 0.1061 97.83);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 121 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a7921] text-[#8a7921] border-[#8a7921]">