#F5C271

Closest named color: Saffron (#E9C46A). oklch(84.3% 0.115 77.8), rgb(245, 194, 113).

Aa

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

About this color

#F5C271 is a light, moderately saturated orange. In OKLCH its lightness is 84%, its chroma 0.115 and its hue 78°. Its hue sits on the warm side of the wheel. The nearest named color is Saffron (#E9C46A), ΔE 0.022 away. Black text reads best on it, at 12.83:1.

Hue familyOranges
Lightnesslight (84%)
Chromamoderately saturated (0.115)
Temperaturewarm
Nearest nameSaffron (#E9C46A)
Black text12.83:1
White text1.63:1

Values

HEX#F5C271
RGBrgb(245, 194, 113)
HSLhsl(37, 87%, 70%)
OKLCHoklch(84.3% 0.115 77.8)

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 #F5C271 1.63:1 Fails Lc -31.8 Non-text elements, placeholder text
Black text on #F5C271 12.83:1 AAA Lc 75.6 Fine for body text
#F5C271 text on white 1.63:1 Fails Lc 28.2 Dividers and decoration only
#F5C271 text on black 12.83:1 AAA Lc -74.7 Content text, not long reading

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 300.

  1. Step 50

    50

    #FBF4EA

    oklch(97% 0.015 77.1)

  2. Step 100

    100

    #F7E8D2

    oklch(93.7% 0.033 77.6)

  3. Step 200

    200

    #F1D5AA

    oklch(88.6% 0.064 78.4)

  4. Step 300

    300 (this color)

    #F5C271

    oklch(84.3% 0.115 77.8)

  5. Step 400

    400

    #D29300

    oklch(70.7% 0.147 78.1)

  6. Step 500

    500

    #B57D00

    oklch(63.1% 0.132 77.3)

  7. Step 600

    600

    #986900

    oklch(55.6% 0.116 77.9)

  8. Step 700

    700

    #805800

    oklch(49.1% 0.102 78.1)

  9. Step 800

    800

    #694800

    oklch(42.7% 0.089 78.7)

  10. Step 900

    900

    #583B00

    oklch(37.6% 0.078 77.7)

  11. Step 950

    950

    #352200

    oklch(26.9% 0.056 77.8)

Export this scale for Tailwind in the Tailwind colors tool

#F5C271 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)#D6C36A0.048
Deuteranopia (no green cones)#E2CF730.041
Tritanopia (no blue cones)#FFB4AF0.096
Achromatopsia (no color)#CACACA0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #F5C271

    #F5C271

    oklch(84.3% 0.115 77.8)

  • #ACCEFF

    #ACCEFF

    oklch(84.4% 0.078 257.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F5C271

    #F5C271

    oklch(84.3% 0.115 77.8)

  • #FFB996

    #FFB996

    oklch(84.3% 0.094 47.6)

  • #D3D175

    #D3D175

    oklch(84.3% 0.115 107.5)

Open the analogous palette in the generator

Split complementary

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

  • #F5C271

    #F5C271

    oklch(84.3% 0.115 77.8)

  • #80D9FF

    #80D9FF

    oklch(84.3% 0.101 227.5)

  • #C8C4FF

    #C8C4FF

    oklch(84.4% 0.082 287.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F5C271

    #F5C271

    oklch(84.3% 0.115 77.8)

  • #5EE2E6

    #5EE2E6

    oklch(84.2% 0.115 198)

  • #EBB4FD

    #EBB4FD

    oklch(84.4% 0.115 317.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F5C271

    #F5C271

    oklch(84.3% 0.115 77.8)

  • #78E4BD

    #78E4BD

    oklch(84.4% 0.116 167.8)

  • #ACCEFF

    #ACCEFF

    oklch(84.4% 0.078 257.5)

  • #FFAFD8

    #FFAFD8

    oklch(84.2% 0.106 347.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #F5C271 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.