#F5CC4A

Closest named color: Maize (#F4D054). oklch(85.8% 0.15 91.1), rgb(245, 204, 74).

Aa

Black text reads best on this color (13.61:1).

About this color

#F5CC4A is a light, vivid yellow. In OKLCH its lightness is 86%, its chroma 0.150 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Maize (#F4D054), ΔE 0.010 away. Black text reads best on it, at 13.61:1.

Hue familyYellows
Lightnesslight (86%)
Chromavivid (0.150)
Temperaturewarm
Nearest nameMaize (#F4D054)
Black text13.61:1
White text1.54:1

Values

HEX#F5CC4A
RGBrgb(245, 204, 74)
HSLhsl(46, 90%, 63%)
OKLCHoklch(85.8% 0.15 91.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #F5CC4A 1.54:1 Fails Lc -28.1 Dividers and decoration only
Black text on #F5CC4A 13.61:1 AAA Lc 78.9 Fine for body text
#F5CC4A text on white 1.54:1 Fails Lc 24.8 Dividers and decoration only
#F5CC4A text on black 13.61:1 AAA Lc -78.3 Fine for body text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 200.

  1. Step 50

    50

    #FCF5E2

    oklch(97.1% 0.026 90.1)

  2. Step 100

    100

    #F8E9C0

    oklch(93.6% 0.056 90.3)

  3. Step 200

    200 (this color)

    #F5CC4A

    oklch(85.8% 0.15 91.1)

  4. Step 300

    300

    #E8BB00

    oklch(80.9% 0.165 91.2)

  5. Step 400

    400

    #C29C00

    oklch(70.7% 0.145 91.2)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765E00

    oklch(49.2% 0.101 91.4)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#F5CC4A with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#E2C9380.034
Deuteranopia (no green cones)#ECD5510.024
Tritanopia (no blue cones)#FFBCB20.134
Achromatopsia (no color)#D0D0D00.150

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #F5CC4A

    #F5CC4A

    oklch(85.8% 0.15 91.1)

  • #BFCFFF

    #BFCFFF

    oklch(85.9% 0.069 270.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F5CC4A

    #F5CC4A

    oklch(85.8% 0.15 91.1)

  • #FFC28F

    #FFC28F

    oklch(85.8% 0.096 60.9)

  • #C2DF67

    #C2DF67

    oklch(85.8% 0.15 121)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #F5CC4A

    #F5CC4A

    oklch(85.8% 0.15 91.1)

  • #A3D8FF

    #A3D8FF

    oklch(85.9% 0.077 240.7)

  • #D9C4FF

    #D9C4FF

    oklch(85.7% 0.084 300.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F5CC4A

    #F5CC4A

    oklch(85.8% 0.15 91.1)

  • #56E6FF

    #56E6FF

    oklch(85.8% 0.125 211.3)

  • #FFB3F5

    #FFB3F5

    oklch(85.9% 0.121 331.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F5CC4A

    #F5CC4A

    oklch(85.8% 0.15 91.1)

  • #24F0D6

    #24F0D6

    oklch(85.9% 0.15 181)

  • #BFCFFF

    #BFCFFF

    oklch(85.9% 0.069 270.5)

  • #FFBACD

    #FFBACD

    oklch(85.8% 0.083 0.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #F5CC4A, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #F5CC4A in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.