#EFDD21

A color in the Yellow, Gold family

#efdd21 is a color in the Yellow, Gold family: RGB(239, 221, 33), HSL(55°, 87%, 53%), CMYK(0%, 8%, 86%, 6%). Closest named color: gold. Contrast is 1.4:1 on white and 15.03:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#efdd21
RGBrgb(239 221 33)
RGB (legacy)rgb(239, 221, 33)
RGB %rgb(94% 87% 13%)
HSLhsl(55 87% 53%)
HSV / HSBhsv(55, 86%, 94%)
HWBhwb(55 13% 6%)
CMYKcmyk(0%, 8%, 86%, 6%)
CIELAB (D50)lab(87.55 -6.35 81.9)
LCHlch(87.55 82.14 94.43)
OKLaboklab(0.8848 -0.0415 0.1757)
OKLCHoklch(0.8848 0.1806 103.27)
Decimal15719713

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 2.5
Closest web-safe color#ffcc33
Hue55°
Saturation (HSL / HSV)87% / 86%
Lightness (HSL)53%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)80% / 83%
Relative luminance (WCAG)0.7017
Red / Green / Blue239 / 221 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.40:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.03: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 19 / -84.4 · As background with white / black text: Lc -21.7 / 84.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: #efdd21;
  --color-brand-oklch: oklch(88.48% 0.1806 103.27);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(239 221 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#efdd21] text-[#efdd21] border-[#efdd21]">