#DFEF4E

A color in the Yellow, Gold family

#dfef4e is a color in the Yellow, Gold family: RGB(223, 239, 78), HSL(66°, 83%, 62%), CMYK(7%, 0%, 67%, 6%). Closest named color: gold. Contrast is 1.27:1 on white and 16.59:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfef4e
RGBrgb(223 239 78)
RGB (legacy)rgb(223, 239, 78)
RGB %rgb(87% 94% 31%)
HSLhsl(66 83% 62%)
HSV / HSBhsv(66, 67%, 94%)
HWBhwb(66 31% 6%)
CMYKcmyk(7%, 0%, 67%, 6%)
CIELAB (D50)lab(91.12 -19.97 71.78)
LCHlch(91.12 74.51 105.55)
OKLaboklab(0.9118 -0.0753 0.1623)
OKLCHoklch(0.9118 0.1789 114.9)
Decimal14675790

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 6.6
Closest web-safe color#ccff66
Hue66°
Saturation (HSL / HSV)83% / 67%
Lightness (HSL)62%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)85% / 88%
Relative luminance (WCAG)0.7797
Red / Green / Blue223 / 239 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.27:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.59: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 13 / -90.9 · As background with white / black text: Lc -15.1 / 90.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: #dfef4e;
  --color-brand-oklch: oklch(91.18% 0.1789 114.9);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 239 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfef4e] text-[#dfef4e] border-[#dfef4e]">