#B7A310

A color in the Yellow, Gold family

#b7a310 is a color in the Yellow, Gold family: RGB(183, 163, 16), HSL(53°, 84%, 39%), CMYK(0%, 11%, 91%, 28%). Closest named color: goldenrod. Contrast is 2.54:1 on white and 8.26:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b7a310
RGBrgb(183 163 16)
RGB (legacy)rgb(183, 163, 16)
RGB %rgb(72% 64% 6%)
HSLhsl(53 84% 39%)
HSV / HSBhsv(53, 91%, 72%)
HWBhwb(53 6% 28%)
CMYKcmyk(0%, 11%, 91%, 28%)
CIELAB (D50)lab(67.14 -2.3 67.03)
LCHlch(67.14 67.07 91.96)
OKLaboklab(0.7113 -0.0259 0.1427)
OKLCHoklch(0.7113 0.145 100.27)
Decimal12034832

Properties

Color ToneYellow, Gold
Closest named colorgoldenrod ΔE 5.8
Closest web-safe color#cc9900
Hue53°
Saturation (HSL / HSV)84% / 91%
Lightness (HSL)39%
Brightness or Value (HSV)72%
Luminance (Rec.601 / Rec.709)60% / 61%
Relative luminance (WCAG)0.363
Red / Green / Blue183 / 163 / 16

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.54:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.26: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.6 / -52.3 · As background with white / black text: Lc -54.7 / 54.4

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: #b7a310;
  --color-brand-oklch: oklch(71.13% 0.145 100.27);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(183 163 16 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b7a310] text-[#b7a310] border-[#b7a310]">