#FFE992

A color in the Yellow, Gold family

#ffe992 is a color in the Yellow, Gold family: RGB(255, 233, 146), HSL(48°, 100%, 79%), CMYK(0%, 9%, 43%, 0%). Closest named color: khaki. Contrast is 1.21:1 on white and 17.32:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ffe992
RGBrgb(255 233 146)
RGB (legacy)rgb(255, 233, 146)
RGB %rgb(100% 91% 57%)
HSLhsl(48 100% 79%)
HSV / HSBhsv(48, 43%, 100%)
HWBhwb(48 57% 0%)
CMYKcmyk(0%, 9%, 43%, 0%)
CIELAB (D50)lab(92.75 -0.71 45.03)
LCHlch(92.75 45.04 90.91)
OKLaboklab(0.9332 -0.0108 0.1092)
OKLCHoklch(0.9332 0.1097 95.63)
Decimal16771474

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 2.4
Closest web-safe color#ffff99
Hue48°
Saturation (HSL / HSV)100% / 43%
Lightness (HSL)79%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)90% / 91%
Relative luminance (WCAG)0.8161
Red / Green / Blue255 / 233 / 146

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.21:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
17.32: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 10.4 / -93.7 · As background with white / black text: Lc -12.1 / 93.2

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: #ffe992;
  --color-brand-oklch: oklch(93.32% 0.1097 95.63);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(255 233 146 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ffe992] text-[#ffe992] border-[#ffe992]">