#A7A708

A color in the Yellow, Gold family

#a7a708 is a color in the Yellow, Gold family: RGB(167, 167, 8), HSL(60°, 91%, 34%), CMYK(0%, 0%, 95%, 35%). Closest named color: goldenrod. Contrast is 2.57:1 on white and 8.17:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a7a708
RGBrgb(167 167 8)
RGB (legacy)rgb(167, 167, 8)
RGB %rgb(65% 65% 3%)
HSLhsl(60 91% 34%)
HSV / HSBhsv(60, 95%, 65%)
HWBhwb(60 3% 35%)
CMYKcmyk(0%, 0%, 95%, 35%)
CIELAB (D50)lab(66.76 -11.39 67.05)
LCHlch(66.76 68.01 99.64)
OKLaboklab(0.7052 -0.0514 0.1433)
OKLCHoklch(0.7052 0.1522 109.74)
Decimal10987272

Properties

Color ToneYellow, Gold
Closest named colorgoldenrod ΔE 8.1
Closest web-safe color#999900
Hue60°
Saturation (HSL / HSV)91% / 95%
Lightness (HSL)34%
Brightness or Value (HSV)65%
Luminance (Rec.601 / Rec.709)58% / 61%
Relative luminance (WCAG)0.3587
Red / Green / Blue167 / 167 / 8

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.57:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.17: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 50.1 / -51.9 · As background with white / black text: Lc -55.2 / 53.9

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: #a7a708;
  --color-brand-oklch: oklch(70.52% 0.1522 109.74);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(167 167 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a7a708] text-[#a7a708] border-[#a7a708]">