#DFD971

A color in the Yellow, Gold family

#dfd971 is a color in the Yellow, Gold family: RGB(223, 217, 113), HSL(57°, 63%, 66%), CMYK(0%, 3%, 49%, 13%). Closest named color: khaki. Contrast is 1.47:1 on white and 14.3:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#dfd971
RGBrgb(223 217 113)
RGB (legacy)rgb(223, 217, 113)
RGB %rgb(87% 85% 44%)
HSLhsl(57 63% 66%)
HSV / HSBhsv(57, 49%, 87%)
HWBhwb(57 44% 13%)
CMYKcmyk(0%, 3%, 49%, 13%)
CIELAB (D50)lab(85.59 -8.03 51.38)
LCHlch(85.59 52 98.89)
OKLaboklab(0.8688 -0.0345 0.1219)
OKLCHoklch(0.8688 0.1267 105.79)
Decimal14670193

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 4.7
Closest web-safe color#cccc66
Hue57°
Saturation (HSL / HSV)63% / 49%
Lightness (HSL)66%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)81% / 83%
Relative luminance (WCAG)0.6651
Red / Green / Blue223 / 217 / 113

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.47:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.30: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 22.1 / -81.2 · As background with white / black text: Lc -25.1 / 81.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: #dfd971;
  --color-brand-oklch: oklch(86.88% 0.1267 105.79);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 217 113 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd971] text-[#dfd971] border-[#dfd971]">