Skip to content

#FEDB2A Color

#FEDB2A is rgb(254, 219, 42) in RGB, hsl(50, 99%, 58%) in HSL, and about cmyk(0%, 14%, 83%, 0%) in CMYK. It has no registered color name of its own — the closest is Safety Yellow (#EED202), clearly related but distinguishable side by side at ΔE 5.22. Black text is the more readable choice on this background.

#FEDB2A
HEX#FEDB2A
RGBrgb(254, 219, 42)
HSLhsl(50, 99%, 58%)
HSVhsv(50, 83%, 100%)
CMYKcmyk(0%, 14%, 83%, 0%)
OKLCHoklch(89.5% 0.176 96.7)
LABlab(88.44% 0.99 81.38)
LCHlch(88.44% 81.39 89.30)

What #FEDB2A Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #FEDB2A, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every yellow in the library.

#FEDB2A Channel Values

How #FEDB2A breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 254 · G 219 · B 428-bit channels as sent to the display
HSLH 50° · S 99% · L 58%Easiest model for building lighter and darker variants
HSVH 50° · S 83% · V 100%Matches the picker in most design tools
CMYKC 0% · M 14% · Y 83% · K 0%Approximate ink mix; confirm with an ICC profile before printing
Luminance1.37:1 vs white · 15.38:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #FEDB2A background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text1.37:1AA normal AA large AAA normal
TextBlack text15.38:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #FEDB2A in the contrast checker.

Colors That Go With #FEDB2A

Pairings derived from color-wheel relationships. The complementary color sits opposite #FEDB2A; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #FEDB2A

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #FEDB2A.

How #FEDB2A Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#FEDB2A
Protanopia#E1E129
Protanomaly#EDDF29
Deuteranopia#E7E721
Deuteranomaly#F1E325
Tritanopia#FFCFCF
Tritanomaly#FFD4A6
Achromatopsia#DCDCDC

Test a full palette in the color blindness simulator.

Using #FEDB2A in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-fedb2a: #FEDB2A;
CSS backgroundbackground-color: #FEDB2A;
Tailwind configcolors: { 'color-fedb2a': '#FEDB2A' }
SwiftUIColor(red: 0.996, green: 0.859, blue: 0.165)
Android XML<color name="color_fedb2a">#FEDB2A</color>
SVG fillfill="#FEDB2A"

More Yellow Colors

#FEDB2A sits in the yellow family. These are its neighbours across that family's full range, each with its own breakdown.

#FEDB2A Frequently Asked Questions

What color is #FEDB2A?

#FEDB2A is a mid-tone yellow — rgb(254, 219, 42) in RGB and hsl(50, 99%, 58%) in HSL. It carries no registered color name of its own; the closest named color is Safety Yellow (#EED202), which is clearly related but distinguishable side by side at a CIE76 distance of 5.22.

What is the RGB value of #FEDB2A?

#FEDB2A is rgb(254, 219, 42) — red 254, green 219, and blue 42 on the 0-255 scale.

What is the CMYK value of #FEDB2A?

#FEDB2A converts to approximately cmyk(0%, 14%, 83%, 0%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #FEDB2A be black or white?

Black text is the more readable choice. #FEDB2A scores 1.37:1 against white and 15.38:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #FEDB2A as a CSS color keyword?

No. #FEDB2A is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is gold (#FFD700) at a CIE76 distance of 5.6, which is clearly related but distinguishable side by side.

Open #FEDB2A in a Tool

Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.