#F7EC79

A color in the Yellow, Gold family

#f7ec79 is a color in the Yellow, Gold family: RGB(247, 236, 121), HSL(55°, 89%, 72%), CMYK(0%, 4%, 51%, 3%). Closest named color: khaki. Contrast is 1.22:1 on white and 17.23:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f7ec79
RGBrgb(247 236 121)
RGB (legacy)rgb(247, 236, 121)
RGB %rgb(97% 93% 47%)
HSLhsl(55 89% 72%)
HSV / HSBhsv(55, 51%, 97%)
HWBhwb(55 47% 3%)
CMYKcmyk(0%, 4%, 51%, 3%)
CIELAB (D50)lab(92.57 -6.92 56.37)
LCHlch(92.57 56.79 97)
OKLaboklab(0.9289 -0.0327 0.1331)
OKLCHoklch(0.9289 0.1371 103.8)
Decimal16247929

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 3
Closest web-safe color#ffff66
Hue55°
Saturation (HSL / HSV)89% / 51%
Lightness (HSL)72%
Brightness or Value (HSV)97%
Luminance (Rec.601 / Rec.709)89% / 90%
Relative luminance (WCAG)0.8115
Red / Green / Blue247 / 236 / 121

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.22:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
17.23: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 10.7 / -93.4 · As background with white / black text: Lc -12.5 / 92.9

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: #f7ec79;
  --color-brand-oklch: oklch(92.89% 0.1371 103.8);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(247 236 121 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f7ec79] text-[#f7ec79] border-[#f7ec79]">