#D7BF21

A color in the Yellow, Gold family

#d7bf21 is a color in the Yellow, Gold family: RGB(215, 191, 33), HSL(52°, 73%, 49%), CMYK(0%, 11%, 85%, 16%). Closest named color: goldenrod. Contrast is 1.85:1 on white and 11.36:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d7bf21
RGBrgb(215 191 33)
RGB (legacy)rgb(215, 191, 33)
RGB %rgb(84% 75% 13%)
HSLhsl(52 73% 49%)
HSV / HSBhsv(52, 85%, 84%)
HWBhwb(52 13% 16%)
CMYKcmyk(0%, 11%, 85%, 16%)
CIELAB (D50)lab(77.62 -2.05 73.15)
LCHlch(77.62 73.18 91.6)
OKLaboklab(0.8011 -0.0267 0.1573)
OKLCHoklch(0.8011 0.1595 99.64)
Decimal14139169

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.85:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.36: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 34.6 / -68 · As background with white / black text: Lc -38.7 / 69.3

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