#D7BE21

A color in the Yellow, Gold family

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

Color Codes

HEX#d7be21
RGBrgb(215 190 33)
RGB (legacy)rgb(215, 190, 33)
RGB %rgb(84% 75% 13%)
HSLhsl(52 73% 49%)
HSV / HSBhsv(52, 85%, 84%)
HWBhwb(52 13% 16%)
CMYKcmyk(0%, 12%, 85%, 16%)
CIELAB (D50)lab(77.36 -1.56 72.95)
LCHlch(77.36 72.96 91.22)
OKLaboklab(0.799 -0.0253 0.1568)
OKLCHoklch(0.799 0.1588 99.16)
Decimal14138913

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.86:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.28: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 35 / -67.6 · As background with white / black text: Lc -39.2 / 68.9

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