#FFAF1B

Closest named color: Orange Yellow (#FFAD01). oklch(81.1% 0.166 74.8), rgb(255, 175, 27).

Aa

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

About this color

#FFAF1B is a light, vivid orange. In OKLCH its lightness is 81%, its chroma 0.166 and its hue 75°. Its hue sits on the warm side of the wheel. The nearest named color is Orange Yellow (#FFAD01), ΔE 0.006 away. Black text reads best on it, at 11.39:1.

Hue familyOranges
Lightnesslight (81%)
Chromavivid (0.166)
Temperaturewarm
Nearest nameOrange Yellow (#FFAD01)
Black text11.39:1
White text1.84:1

Values

HEX#FFAF1B
RGBrgb(255, 175, 27)
HSLhsl(39, 100%, 55%)
OKLCHoklch(81.1% 0.166 74.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 #FFAF1B 1.84:1 Fails Lc -38.4 Non-text elements, placeholder text
Black text on #FFAF1B 11.39:1 AAA Lc 69.6 Content text, not long reading
#FFAF1B text on white 1.84:1 Fails Lc 34.3 Non-text elements, placeholder text
#FFAF1B text on black 11.39:1 AAA Lc -68.3 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

    #FFF4E5

    oklch(97.2% 0.023 75.9)

  2. Step 100

    100

    #FDE6C7

    oklch(93.6% 0.048 75.3)

  3. Step 200

    200

    #FDD194

    oklch(88.5% 0.092 75.2)

  4. Step 300

    300 (this color)

    #FFAF1B

    oklch(81.1% 0.166 74.8)

  5. Step 400

    400

    #D69100

    oklch(70.8% 0.149 75.1)

  6. Step 500

    500

    #B87B00

    oklch(63% 0.133 74.4)

  7. Step 600

    600

    #9B6700

    oklch(55.5% 0.117 74.4)

  8. Step 700

    700

    #835600

    oklch(49.1% 0.104 74.1)

  9. Step 800

    800

    #6B4600

    oklch(42.6% 0.09 74.7)

  10. Step 900

    900

    #5A3A00

    oklch(37.7% 0.08 74.4)

  11. Step 950

    950

    #362200

    oklch(27% 0.057 76.3)

Export this scale for Tailwind in the Tailwind colors tool

#FFAF1B 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)#CCB3000.083
Deuteranopia (no green cones)#DEC7230.074
Tritanopia (no blue cones)#FF9A960.135
Achromatopsia (no color)#BFBFBF0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #FFAF1B

    #FFAF1B

    oklch(81.1% 0.166 74.8)

  • #97C5FF

    #97C5FF

    oklch(81.2% 0.096 254.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FFAF1B

    #FFAF1B

    oklch(81.1% 0.166 74.8)

  • #FFA983

    #FFA983

    oklch(81.1% 0.114 44.5)

  • #D2C61E

    #D2C61E

    oklch(81.1% 0.166 105)

Open the analogous palette in the generator

Split complementary

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

  • #FFAF1B

    #FFAF1B

    oklch(81.1% 0.166 74.8)

  • #51D2FF

    #51D2FF

    oklch(81.1% 0.128 225)

  • #BAB9FF

    #BAB9FF

    oklch(81.2% 0.098 284.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FFAF1B

    #FFAF1B

    oklch(81.1% 0.166 74.8)

  • #00DCDD

    #00DCDD

    oklch(81% 0.138 195.4)

  • #E3A5FF

    #E3A5FF

    oklch(81.1% 0.139 314.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FFAF1B

    #FFAF1B

    oklch(81.1% 0.166 74.8)

  • #1FE2A6

    #1FE2A6

    oklch(81.1% 0.166 164.9)

  • #97C5FF

    #97C5FF

    oklch(81.2% 0.096 254.6)

  • #FF9CD6

    #FF9CD6

    oklch(81.1% 0.137 344.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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