#D7B921

A color in the Yellow, Gold family

#d7b921 is a color in the Yellow, Gold family: RGB(215, 185, 33), HSL(50°, 73%, 49%), CMYK(0%, 14%, 85%, 16%). Closest named color: goldenrod. Contrast is 1.94:1 on white and 10.85:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d7b921
RGBrgb(215 185 33)
RGB (legacy)rgb(215, 185, 33)
RGB %rgb(84% 73% 13%)
HSLhsl(50 73% 49%)
HSV / HSBhsv(50, 85%, 84%)
HWBhwb(50 13% 16%)
CMYKcmyk(0%, 14%, 85%, 16%)
CIELAB (D50)lab(76.06 0.9 71.94)
LCHlch(76.06 71.95 89.28)
OKLaboklab(0.7887 -0.018 0.1544)
OKLCHoklch(0.7887 0.1555 96.65)
Decimal14137633

Properties

Color ToneYellow, Gold
Closest named colorgoldenrod ΔE 5.1
Closest web-safe color#cccc33
Hue50°
Saturation (HSL / HSV)73% / 85%
Lightness (HSL)49%
Brightness or Value (HSV)84%
Luminance (Rec.601 / Rec.709)69% / 71%
Relative luminance (WCAG)0.4925
Red / Green / Blue215 / 185 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.94:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.85: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 36.9 / -65.5 · As background with white / black text: Lc -41.2 / 67

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: #d7b921;
  --color-brand-oklch: oklch(78.87% 0.1555 96.65);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(215 185 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d7b921] text-[#d7b921] border-[#d7b921]">