#DEC00A

A color in the Yellow, Gold family

#dec00a is a color in the Yellow, Gold family: RGB(222, 192, 10), HSL(52°, 91%, 45%), CMYK(0%, 14%, 95%, 13%). Closest named color: goldenrod. Contrast is 1.8:1 on white and 11.65:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#dec00a
RGBrgb(222 192 10)
RGB (legacy)rgb(222, 192, 10)
RGB %rgb(87% 75% 4%)
HSLhsl(52 91% 45%)
HSV / HSBhsv(52, 95%, 87%)
HWBhwb(52 4% 13%)
CMYKcmyk(0%, 14%, 95%, 13%)
CIELAB (D50)lab(78.5 0.18 77.85)
LCHlch(78.5 77.85 89.87)
OKLaboklab(0.8092 -0.0221 0.1643)
OKLCHoklch(0.8092 0.1657 97.65)
Decimal14598154

Properties

Color ToneYellow, Gold
Closest named colorgoldenrod ΔE 7.1
Closest web-safe color#cccc00
Hue52°
Saturation (HSL / HSV)91% / 95%
Lightness (HSL)45%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)71% / 73%
Relative luminance (WCAG)0.5325
Red / Green / Blue222 / 192 / 10

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.80:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.65: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 33.2 / -69.4 · As background with white / black text: Lc -37.3 / 70.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: #dec00a;
  --color-brand-oklch: oklch(80.92% 0.1657 97.65);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(222 192 10 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dec00a] text-[#dec00a] border-[#dec00a]">