#F4E02E

A color in the Yellow, Gold family

#f4e02e is a color in the Yellow, Gold family: RGB(244, 224, 46), HSL(54°, 90%, 57%), CMYK(0%, 8%, 81%, 4%). Closest named color: gold. Contrast is 1.35:1 on white and 15.55:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f4e02e
RGBrgb(244 224 46)
RGB (legacy)rgb(244, 224, 46)
RGB %rgb(96% 88% 18%)
HSLhsl(54 90% 57%)
HSV / HSBhsv(54, 81%, 96%)
HWBhwb(54 18% 4%)
CMYKcmyk(0%, 8%, 81%, 4%)
CIELAB (D50)lab(88.8 -5.46 80.25)
LCHlch(88.8 80.44 93.89)
OKLaboklab(0.8958 -0.0383 0.1739)
OKLCHoklch(0.8958 0.1781 102.41)
Decimal16048174

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 2.4
Closest web-safe color#ffcc33
Hue54°
Saturation (HSL / HSV)90% / 81%
Lightness (HSL)57%
Brightness or Value (HSV)96%
Luminance (Rec.601 / Rec.709)82% / 84%
Relative luminance (WCAG)0.7274
Red / Green / Blue244 / 224 / 46

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.35:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.55: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 17 / -86.6 · As background with white / black text: Lc -19.5 / 86.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: #f4e02e;
  --color-brand-oklch: oklch(89.58% 0.1781 102.41);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(244 224 46 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f4e02e] text-[#f4e02e] border-[#f4e02e]">