#B8A708

A color in the Yellow, Gold family

#b8a708 is a color in the Yellow, Gold family: RGB(184, 167, 8), HSL(54°, 92%, 38%), CMYK(0%, 9%, 96%, 28%). Closest named color: goldenrod. Contrast is 2.45:1 on white and 8.57:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b8a708
RGBrgb(184 167 8)
RGB (legacy)rgb(184, 167, 8)
RGB %rgb(72% 65% 3%)
HSLhsl(54 92% 38%)
HSV / HSBhsv(54, 96%, 72%)
HWBhwb(54 3% 28%)
CMYKcmyk(0%, 9%, 96%, 28%)
CIELAB (D50)lab(68.3 -3.94 68.99)
LCHlch(68.3 69.1 93.27)
OKLaboklab(0.7206 -0.0311 0.1463)
OKLCHoklch(0.7206 0.1495 102.02)
Decimal12101384

Properties

Color ToneYellow, Gold
Closest named colorgoldenrod ΔE 5.6
Closest web-safe color#cc9900
Hue54°
Saturation (HSL / HSV)92% / 96%
Lightness (HSL)38%
Brightness or Value (HSV)72%
Luminance (Rec.601 / Rec.709)60% / 62%
Relative luminance (WCAG)0.3785
Red / Green / Blue184 / 167 / 8

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.45:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.57: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 48 / -54 · As background with white / black text: Lc -53 / 56

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