#EFD310

A color in the Yellow, Gold family

#efd310 is a color in the Yellow, Gold family: RGB(239, 211, 16), HSL(52°, 87%, 50%), CMYK(0%, 12%, 93%, 6%). Closest named color: gold. Contrast is 1.5:1 on white and 14:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#efd310
RGBrgb(239 211 16)
RGB (legacy)rgb(239, 211, 16)
RGB %rgb(94% 83% 6%)
HSLhsl(52 87% 50%)
HSV / HSBhsv(52, 93%, 94%)
HWBhwb(52 6% 6%)
CMYKcmyk(0%, 12%, 93%, 6%)
CIELAB (D50)lab(84.96 -1.78 82.59)
LCHlch(84.96 82.61 91.24)
OKLaboklab(0.8639 -0.029 0.1749)
OKLCHoklch(0.8639 0.1773 99.41)
Decimal15717136

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 2.7
Closest web-safe color#ffcc00
Hue52°
Saturation (HSL / HSV)87% / 93%
Lightness (HSL)50%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)77% / 80%
Relative luminance (WCAG)0.6498
Red / Green / Blue239 / 211 / 16

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.50:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.00: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 23.2 / -80 · As background with white / black text: Lc -26.3 / 80.5

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: #efd310;
  --color-brand-oklch: oklch(86.39% 0.1773 99.41);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(239 211 16 / 50%); }
/* Tailwind CSS */
<div class="bg-[#efd310] text-[#efd310] border-[#efd310]">