#B9A310

A color in the Yellow, Gold family

#b9a310 is a color in the Yellow, Gold family: RGB(185, 163, 16), HSL(52°, 84%, 39%), CMYK(0%, 12%, 91%, 27%). Closest named color: goldenrod. Contrast is 2.53:1 on white and 8.31:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b9a310
RGBrgb(185 163 16)
RGB (legacy)rgb(185, 163, 16)
RGB %rgb(73% 64% 6%)
HSLhsl(52 84% 39%)
HSV / HSBhsv(52, 91%, 73%)
HWBhwb(52 6% 27%)
CMYKcmyk(0%, 12%, 91%, 27%)
CIELAB (D50)lab(67.34 -1.42 67.28)
LCHlch(67.34 67.29 91.21)
OKLaboklab(0.7132 -0.0234 0.1431)
OKLCHoklch(0.7132 0.145 99.3)
Decimal12165904

Properties

Color ToneYellow, Gold
Closest named colorgoldenrod ΔE 5.5
Closest web-safe color#cc9900
Hue52°
Saturation (HSL / HSV)84% / 91%
Lightness (HSL)39%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)60% / 62%
Relative luminance (WCAG)0.3655
Red / Green / Blue185 / 163 / 16

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.53:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.31: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 49.4 / -52.6 · As background with white / black text: Lc -54.4 / 54.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: #b9a310;
  --color-brand-oklch: oklch(71.32% 0.145 99.3);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(185 163 16 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b9a310] text-[#b9a310] border-[#b9a310]">