#EFC331

A color in the Yellow, Gold family

#efc331 is a color in the Yellow, Gold family: RGB(239, 195, 49), HSL(46°, 86%, 56%), CMYK(0%, 18%, 79%, 6%). Closest named color: gold. Contrast is 1.68:1 on white and 12.52:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#efc331
RGBrgb(239 195 49)
RGB (legacy)rgb(239, 195, 49)
RGB %rgb(94% 76% 19%)
HSLhsl(46 86% 56%)
HSV / HSBhsv(46, 79%, 94%)
HWBhwb(46 19% 6%)
CMYKcmyk(0%, 18%, 79%, 6%)
CIELAB (D50)lab(81.02 6.5 72.82)
LCHlch(81.02 73.11 84.9)
OKLaboklab(0.833 -0.0019 0.1578)
OKLCHoklch(0.833 0.1578 90.7)
Decimal15713073

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 6.1
Closest web-safe color#ffcc33
Hue46°
Saturation (HSL / HSV)86% / 79%
Lightness (HSL)56%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)75% / 76%
Relative luminance (WCAG)0.576
Red / Green / Blue239 / 195 / 49

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.4 · As background with white / black text: Lc -33.2 / 74.4

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: #efc331;
  --color-brand-oklch: oklch(83.3% 0.1578 90.7);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(239 195 49 / 50%); }
/* Tailwind CSS */
<div class="bg-[#efc331] text-[#efc331] border-[#efc331]">