#F4E87F

A color in the Yellow, Gold family

#f4e87f is a color in the Yellow, Gold family: RGB(244, 232, 127), HSL(54°, 84%, 73%), CMYK(0%, 5%, 48%, 4%). Closest named color: khaki. Contrast is 1.26:1 on white and 16.7:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f4e87f
RGBrgb(244 232 127)
RGB (legacy)rgb(244, 232, 127)
RGB %rgb(96% 91% 50%)
HSLhsl(54 84% 73%)
HSV / HSBhsv(54, 48%, 96%)
HWBhwb(54 50% 4%)
CMYKcmyk(0%, 5%, 48%, 4%)
CIELAB (D50)lab(91.35 -5.86 52.12)
LCHlch(91.35 52.45 96.42)
OKLaboklab(0.9191 -0.0282 0.1242)
OKLCHoklch(0.9191 0.1274 102.77)
Decimal16050303

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 1.6
Closest web-safe color#ffff66
Hue54°
Saturation (HSL / HSV)84% / 48%
Lightness (HSL)73%
Brightness or Value (HSV)96%
Luminance (Rec.601 / Rec.709)88% / 89%
Relative luminance (WCAG)0.7848
Red / Green / Blue244 / 232 / 127

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.26:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.70: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 12.7 / -91.2 · As background with white / black text: Lc -14.7 / 90.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: #f4e87f;
  --color-brand-oklch: oklch(91.91% 0.1274 102.77);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(244 232 127 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f4e87f] text-[#f4e87f] border-[#f4e87f]">