#FEEF8A

A color in the Yellow, Gold family

#feef8a is a color in the Yellow, Gold family: RGB(254, 239, 138), HSL(52°, 98%, 77%), CMYK(0%, 6%, 46%, 0%). Closest named color: khaki. Contrast is 1.17:1 on white and 17.93:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#feef8a
RGBrgb(254 239 138)
RGB (legacy)rgb(254, 239, 138)
RGB %rgb(100% 94% 54%)
HSLhsl(52 98% 77%)
HSV / HSBhsv(52, 46%, 100%)
HWBhwb(52 54% 0%)
CMYKcmyk(0%, 6%, 46%, 0%)
CIELAB (D50)lab(94.09 -4.49 50.45)
LCHlch(94.09 50.65 95.09)
OKLaboklab(0.9431 -0.0234 0.1211)
OKLCHoklch(0.9431 0.1233 100.95)
Decimal16707466

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 3.2
Closest web-safe color#ffff99
Hue52°
Saturation (HSL / HSV)98% / 46%
Lightness (HSL)77%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)91% / 92%
Relative luminance (WCAG)0.8464
Red / Green / Blue254 / 239 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.17:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
17.93: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 8.1 / -96.2 · As background with white / black text: Lc -9.6 / 95.4

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: #feef8a;
  --color-brand-oklch: oklch(94.31% 0.1233 100.95);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(254 239 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#feef8a] text-[#feef8a] border-[#feef8a]">