#F8EA25

A color in the Yellow, Gold family

#f8ea25 is a color in the Yellow, Gold family: RGB(248, 234, 37), HSL(56°, 94%, 56%), CMYK(0%, 6%, 85%, 3%). Closest named color: gold. Contrast is 1.25:1 on white and 16.79:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f8ea25
RGBrgb(248 234 37)
RGB (legacy)rgb(248, 234, 37)
RGB %rgb(97% 92% 15%)
HSLhsl(56 94% 56%)
HSV / HSBhsv(56, 85%, 97%)
HWBhwb(56 15% 3%)
CMYKcmyk(0%, 6%, 85%, 3%)
CIELAB (D50)lab(91.68 -8.66 84.68)
LCHlch(91.68 85.12 95.84)
OKLaboklab(0.9195 -0.0487 0.1822)
OKLCHoklch(0.9195 0.1886 104.97)
Decimal16312869

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 4.6
Closest web-safe color#ffff33
Hue56°
Saturation (HSL / HSV)94% / 85%
Lightness (HSL)56%
Brightness or Value (HSV)97%
Luminance (Rec.601 / Rec.709)85% / 87%
Relative luminance (WCAG)0.7894
Red / Green / Blue248 / 234 / 37

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.25:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.79: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.2 / -91.7 · As background with white / black text: Lc -14.2 / 91.3

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: #f8ea25;
  --color-brand-oklch: oklch(91.95% 0.1886 104.97);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(248 234 37 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f8ea25] text-[#f8ea25] border-[#f8ea25]">