#A79E21

A color in the Yellow, Gold family

#a79e21 is a color in the Yellow, Gold family: RGB(167, 158, 33), HSL(56°, 67%, 39%), CMYK(0%, 5%, 80%, 35%). Closest named color: darkgoldenrod. Contrast is 2.78:1 on white and 7.56:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a79e21
RGBrgb(167 158 33)
RGB (legacy)rgb(167, 158, 33)
RGB %rgb(65% 62% 13%)
HSLhsl(56 67% 39%)
HSV / HSBhsv(56, 80%, 65%)
HWBhwb(56 13% 35%)
CMYKcmyk(0%, 5%, 80%, 35%)
CIELAB (D50)lab(64.32 -6.53 60.23)
LCHlch(64.32 60.58 96.19)
OKLaboklab(0.686 -0.0354 0.1315)
OKLCHoklch(0.686 0.1362 105.08)
Decimal10984993

Properties

Color ToneYellow, Gold
Closest named colordarkgoldenrod ΔE 6.4
Closest web-safe color#999933
Hue56°
Saturation (HSL / HSV)67% / 80%
Lightness (HSL)39%
Brightness or Value (HSV)65%
Luminance (Rec.601 / Rec.709)57% / 59%
Relative luminance (WCAG)0.3278
Red / Green / Blue167 / 158 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.78:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.56: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.4 / -48.4 · As background with white / black text: Lc -58.7 / 50.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: #a79e21;
  --color-brand-oklch: oklch(68.6% 0.1362 105.08);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(167 158 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a79e21] text-[#a79e21] border-[#a79e21]">