#DFD62A

A color in the Yellow, Gold family

#dfd62a is a color in the Yellow, Gold family: RGB(223, 214, 42), HSL(57°, 74%, 52%), CMYK(0%, 4%, 81%, 13%). Closest named color: gold. Contrast is 1.52:1 on white and 13.79:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#dfd62a
RGBrgb(223 214 42)
RGB (legacy)rgb(223, 214, 42)
RGB %rgb(87% 84% 16%)
HSLhsl(57 74% 52%)
HSV / HSBhsv(57, 81%, 87%)
HWBhwb(57 16% 13%)
CMYKcmyk(0%, 4%, 81%, 13%)
CIELAB (D50)lab(84.36 -9.55 76.75)
LCHlch(84.36 77.34 97.09)
OKLaboklab(0.8566 -0.0487 0.1667)
OKLCHoklch(0.8566 0.1737 106.29)
Decimal14669354

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 4.6
Closest web-safe color#cccc33
Hue57°
Saturation (HSL / HSV)74% / 81%
Lightness (HSL)52%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)77% / 80%
Relative luminance (WCAG)0.6395
Red / Green / Blue223 / 214 / 42

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.52:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
13.79: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 24.1 / -79 · As background with white / black text: Lc -27.3 / 79.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: #dfd62a;
  --color-brand-oklch: oklch(85.66% 0.1737 106.29);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 214 42 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd62a] text-[#dfd62a] border-[#dfd62a]">