#FBE21E

A color in the Yellow, Gold family

#fbe21e is a color in the Yellow, Gold family: RGB(251, 226, 30), HSL(53°, 97%, 55%), CMYK(0%, 10%, 88%, 2%). Closest named color: gold. Contrast is 1.31:1 on white and 16:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#fbe21e
RGBrgb(251 226 30)
RGB (legacy)rgb(251, 226, 30)
RGB %rgb(98% 89% 12%)
HSLhsl(53 97% 55%)
HSV / HSBhsv(53, 88%, 98%)
HWBhwb(53 12% 2%)
CMYKcmyk(0%, 10%, 88%, 2%)
CIELAB (D50)lab(89.89 -3.77 84.75)
LCHlch(89.89 84.83 92.55)
OKLaboklab(0.9056 -0.0351 0.1809)
OKLCHoklch(0.9056 0.1843 100.98)
Decimal16507422

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 2.6
Closest web-safe color#ffcc33
Hue53°
Saturation (HSL / HSV)97% / 88%
Lightness (HSL)55%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)83% / 85%
Relative luminance (WCAG)0.75
Red / Green / Blue251 / 226 / 30

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.31:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.00: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 15.2 / -88.5 · As background with white / black text: Lc -17.5 / 88.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: #fbe21e;
  --color-brand-oklch: oklch(90.56% 0.1843 100.98);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(251 226 30 / 50%); }
/* Tailwind CSS */
<div class="bg-[#fbe21e] text-[#fbe21e] border-[#fbe21e]">