#F4EC79

A color in the Yellow, Gold family

#f4ec79 is a color in the Yellow, Gold family: RGB(244, 236, 121), HSL(56°, 85%, 72%), CMYK(0%, 3%, 50%, 4%). Closest named color: khaki. Contrast is 1.23:1 on white and 17.12:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f4ec79
RGBrgb(244 236 121)
RGB (legacy)rgb(244, 236, 121)
RGB %rgb(96% 93% 47%)
HSLhsl(56 85% 72%)
HSV / HSBhsv(56, 50%, 96%)
HWBhwb(56 47% 4%)
CMYKcmyk(0%, 3%, 50%, 4%)
CIELAB (D50)lab(92.32 -8.11 56)
LCHlch(92.32 56.58 98.24)
OKLaboklab(0.9264 -0.0359 0.1324)
OKLCHoklch(0.9264 0.1372 105.18)
Decimal16051321

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 2.9
Closest web-safe color#ffff66
Hue56°
Saturation (HSL / HSV)85% / 50%
Lightness (HSL)72%
Brightness or Value (HSV)96%
Luminance (Rec.601 / Rec.709)88% / 90%
Relative luminance (WCAG)0.806
Red / Green / Blue244 / 236 / 121

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.23:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
17.12: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 11.1 / -92.9 · As background with white / black text: Lc -12.9 / 92.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: #f4ec79;
  --color-brand-oklch: oklch(92.64% 0.1372 105.18);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(244 236 121 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f4ec79] text-[#f4ec79] border-[#f4ec79]">