#D0CD4E

A color in the Yellow, Gold family

#d0cd4e is a color in the Yellow, Gold family: RGB(208, 205, 78), HSL(59°, 58%, 56%), CMYK(0%, 1%, 63%, 18%). Closest named color: darkkhaki. Contrast is 1.68:1 on white and 12.52:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d0cd4e
RGBrgb(208 205 78)
RGB (legacy)rgb(208, 205, 78)
RGB %rgb(82% 80% 31%)
HSLhsl(59 58% 56%)
HSV / HSBhsv(59, 63%, 82%)
HWBhwb(59 31% 18%)
CMYKcmyk(0%, 1%, 63%, 18%)
CIELAB (D50)lab(80.88 -10.35 61.15)
LCHlch(80.88 62.02 99.6)
OKLaboklab(0.8271 -0.0452 0.1396)
OKLCHoklch(0.8271 0.1468 107.92)
Decimal13684046

Properties

Color ToneYellow, Gold
Closest named colordarkkhaki ΔE 7.7
Closest web-safe color#cccc66
Hue59°
Saturation (HSL / HSV)58% / 63%
Lightness (HSL)56%
Brightness or Value (HSV)82%
Luminance (Rec.601 / Rec.709)75% / 77%
Relative luminance (WCAG)0.5762
Red / Green / Blue208 / 205 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.68:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.52: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 29.5 / -73.3 · As background with white / black text: Lc -33.3 / 74.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: #d0cd4e;
  --color-brand-oklch: oklch(82.71% 0.1468 107.92);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(208 205 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d0cd4e] text-[#d0cd4e] border-[#d0cd4e]">