COLOR INTELLIGENCE

Start with a color. Finish with a decision.

Enter a hex value or choose a starting tool. HexCheck keeps the color connected as you inspect it, test it, build with it, or apply it in a real-world workflow.

COLOR UTILITY
#

This color has a permanent URL:

RGB
HSL
Luminance
Best text

Readable text

· Open Contrast Lab
White text
Black text

Related colors

Build a palette
#FACC15

COLOR ENCYCLOPEDIA

#FACC15 color values and accessibility

#FACC15 is a mid-tone vivid yellow color. Its RGB value is 250, 204, 21, and its HSL value is 48°, 96%, 53%. Use the values below to move the same color between web code, accessibility checks, palettes, and gradients.

HEX#FACC15
RGBrgb(250, 204, 21)
HSLhsl(48 96% 53%)
Relative luminance0.6356

Contrast with black and white

On #FACC15, black text provides the stronger black-or-white contrast. WCAG contrast still depends on the actual foreground, background, text size, and component being evaluated.

White · 1.53:1AA normal: Fail · AAA normal: Fail
Black · 13.71:1AA normal: Pass · AAA normal: Pass

For WCAG 2.x, normal text uses 4.5:1 for AA and 7:1 for AAA. Qualifying large text uses 3:1 for AA and 4.5:1 for AAA.

Quick tints and shades

These references are simple RGB mixes with white or black. They are useful starting points for exploration, not a substitute for perceptual palette tuning or contrast testing.

#FBD438
#FCDB5B
#D5AD12
#AF8F0F

Use #FACC15 in CSS

HEX, RGB, and HSL represent the same encoded sRGB color in different notations. Choose the form that fits the code or design system you are working in.

color: #FACC15;
background-color: #FACC15;
--color-reference: #FACC15;

What the luminance tells you

Relative luminance is the WCAG calculation used to derive contrast ratio. #FACC15 has a relative luminance of 0.6356 on the 0-to-1 scale. That is why its contrast is 1.53:1 against white and 13.71:1 against black.

Common questions about #FACC15

What is #FACC15 in RGB?

#FACC15 is rgb(250, 204, 21).

What is #FACC15 in HSL?

#FACC15 is hsl(48 96% 53%).

Should I use black or white text on #FACC15?

Black has the stronger contrast of the two: black is 13.71:1 and white is 1.53:1. Check the applicable WCAG target and the real interface context before finalizing the text color.

HEXCHECK

Choose the next color task

Match this color to a room surface

Paint references
Open Paint Match

See this color under different light

Daylight and bulbs
Open Lighting Simulator

Apply this color to a complete room

Walls, trim, and surfaces
Open Room Preview

Coordinate this color with materials

Wood, stone, metal, and textile
Open Material Colors

Compare complexion direction

Complexion analysis
Open Undertone

Build an outfit around this color

Role-based styling
Open Outfit Palette

Browse curated color systems

Brands and systems
Open Color Collections

Build a gradient

Pro feature preview
Open Gradient Studio

Build a complete palette

Pro feature preview
Open Palette Studio

Pick from a camera or image

Pro feature preview
Open Image & Camera Picker

Developer formats · Pro

Values and copy unlock with Pro

Accessibility

WCAG contrast
White text
Black text
Open Contrast Lab

Developer export · Pro

Ready to paste
Upgrade to Pro to unlock developer exports.

Saved colors · Pro

Upgrade to Pro to save colors.

Recent colors · Pro

Upgrade to Pro to keep color history.