#D9C00A

A color in the Yellow, Gold family

#d9c00a is a color in the Yellow, Gold family: RGB(217, 192, 10), HSL(53°, 91%, 45%), CMYK(0%, 12%, 95%, 15%). Closest named color: goldenrod. Contrast is 1.83:1 on white and 11.49:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d9c00a
RGBrgb(217 192 10)
RGB (legacy)rgb(217, 192, 10)
RGB %rgb(85% 75% 4%)
HSLhsl(53 91% 45%)
HSV / HSBhsv(53, 95%, 85%)
HWBhwb(53 4% 15%)
CMYKcmyk(0%, 12%, 95%, 15%)
CIELAB (D50)lab(78.02 -1.96 77.25)
LCHlch(78.02 77.28 91.45)
OKLaboklab(0.8044 -0.028 0.1633)
OKLCHoklch(0.8044 0.1657 99.71)
Decimal14270474

Properties

Color ToneYellow, Gold
Closest named colorgoldenrod ΔE 7
Closest web-safe color#cccc00
Hue53°
Saturation (HSL / HSV)91% / 95%
Lightness (HSL)45%
Brightness or Value (HSV)85%
Luminance (Rec.601 / Rec.709)70% / 72%
Relative luminance (WCAG)0.5247
Red / Green / Blue217 / 192 / 10

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.83:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.49: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 / -68.6 · As background with white / black text: Lc -38.1 / 69.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: #d9c00a;
  --color-brand-oklch: oklch(80.44% 0.1657 99.71);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(217 192 10 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d9c00a] text-[#d9c00a] border-[#d9c00a]">