#FFEF4E

A color in the Yellow, Gold family

#ffef4e is a color in the Yellow, Gold family: RGB(255, 239, 78), HSL(55°, 100%, 65%), CMYK(0%, 6%, 69%, 0%). Closest named color: yellow. Contrast is 1.19:1 on white and 17.71:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ffef4e
RGBrgb(255 239 78)
RGB (legacy)rgb(255, 239, 78)
RGB %rgb(100% 94% 31%)
HSLhsl(55 100% 65%)
HSV / HSBhsv(55, 69%, 100%)
HWBhwb(55 31% 0%)
CMYKcmyk(0%, 6%, 69%, 0%)
CIELAB (D50)lab(93.71 -7.12 75.32)
LCHlch(93.71 75.65 95.4)
OKLaboklab(0.9377 -0.0406 0.1683)
OKLCHoklch(0.9377 0.1731 103.57)
Decimal16772942

Properties

Color ToneYellow, Gold
Closest named coloryellow ΔE 5.3
Closest web-safe color#ffff66
Hue55°
Saturation (HSL / HSV)100% / 69%
Lightness (HSL)65%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)88% / 91%
Relative luminance (WCAG)0.8354
Red / Green / Blue255 / 239 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.19:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
17.71: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 8.9 / -95.4 · As background with white / black text: Lc -10.4 / 94.7

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: #ffef4e;
  --color-brand-oklch: oklch(93.77% 0.1731 103.57);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(255 239 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ffef4e] text-[#ffef4e] border-[#ffef4e]">