#F7E708

A color in the Yellow, Gold family

#f7e708 is a color in the Yellow, Gold family: RGB(247, 231, 8), HSL(56°, 94%, 50%), CMYK(0%, 6%, 97%, 3%). Closest named color: gold. Contrast is 1.28:1 on white and 16.39:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f7e708
RGBrgb(247 231 8)
RGB (legacy)rgb(247, 231, 8)
RGB %rgb(97% 91% 3%)
HSLhsl(56 94% 50%)
HSV / HSBhsv(56, 97%, 97%)
HWBhwb(56 3% 3%)
CMYKcmyk(0%, 6%, 97%, 3%)
CIELAB (D50)lab(90.78 -7.97 87.75)
LCHlch(90.78 88.11 95.19)
OKLaboklab(0.9118 -0.048 0.186)
OKLCHoklch(0.9118 0.1921 104.46)
Decimal16246536

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 4
Closest web-safe color#ffff00
Hue56°
Saturation (HSL / HSV)94% / 97%
Lightness (HSL)50%
Brightness or Value (HSV)97%
Luminance (Rec.601 / Rec.709)82% / 86%
Relative luminance (WCAG)0.7694
Red / Green / Blue247 / 231 / 8

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.28:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.39: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 13.7 / -90.1 · As background with white / black text: Lc -15.8 / 89.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: #f7e708;
  --color-brand-oklch: oklch(91.18% 0.1921 104.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(247 231 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f7e708] text-[#f7e708] border-[#f7e708]">