#DFA417

Closest named color: Goldenrod (#DAA520). oklch(75.5% 0.151 81.7), rgb(223, 164, 23).

Aa

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

About this color

#DFA417 is a medium-light, vivid orange. In OKLCH its lightness is 75%, its chroma 0.151 and its hue 82°. Its hue sits on the warm side of the wheel. The nearest named color is Goldenrod (#DAA520), ΔE 0.008 away. Black text reads best on it, at 9.46:1.

Hue familyOranges
Lightnessmedium-light (75%)
Chromavivid (0.151)
Temperaturewarm
Nearest nameGoldenrod (#DAA520)
Black text9.46:1
White text2.21:1

Values

HEX#DFA417
RGBrgb(223, 164, 23)
HSLhsl(42, 81%, 48%)
OKLCHoklch(75.5% 0.151 81.7)

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 #DFA417 2.21:1 Fails Lc -48.2 Large or bold text, headings
Black text on #DFA417 9.46:1 AAA Lc 60.5 Content text, not long reading
#DFA417 text on white 2.21:1 Fails Lc 43.5 Non-text elements, placeholder text
#DFA417 text on black 9.46:1 AAA Lc -58.7 Large or bold text, headings

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

  1. Step 50

    50

    #FAF5EC

    oklch(97.2% 0.013 82.4)

  2. Step 100

    100

    #F3E9D6

    oklch(93.7% 0.027 83.5)

  3. Step 200

    200

    #EBD6B3

    oklch(88.4% 0.052 80.5)

  4. Step 300

    300

    #DFBB78

    oklch(80.9% 0.095 82.2)

  5. Step 400

    400 (this color)

    #DFA417

    oklch(75.5% 0.151 81.7)

  6. Step 500

    500

    #B18000

    oklch(63.2% 0.13 81.5)

  7. Step 600

    600

    #956B00

    oklch(55.6% 0.115 81.4)

  8. Step 700

    700

    #7D5A00

    oklch(49.1% 0.101 82.2)

  9. Step 800

    800

    #674900

    oklch(42.7% 0.088 81.6)

  10. Step 900

    900

    #563D00

    oklch(37.8% 0.078 82.4)

  11. Step 950

    950

    #342300

    oklch(27% 0.056 81.4)

Export this scale for Tailwind in the Tailwind colors tool

#DFA417 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)#BCA5000.057
Deuteranopia (no green cones)#CAB4210.049
Tritanopia (no blue cones)#F3928C0.133
Achromatopsia (no color)#AEAEAE0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA417

    #DFA417

    oklch(75.5% 0.151 81.7)

  • #83AFFF

    #83AFFF

    oklch(75.5% 0.125 261.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA417

    #DFA417

    oklch(75.5% 0.151 81.7)

  • #F9914C

    #F9914C

    oklch(75.5% 0.151 51.9)

  • #B3B830

    #B3B830

    oklch(75.5% 0.151 111.7)

Open the analogous palette in the generator

Split complementary

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

  • #DFA417

    #DFA417

    oklch(75.5% 0.151 81.7)

  • #11BFFE

    #11BFFE

    oklch(75.6% 0.151 231.6)

  • #B19EFF

    #B19EFF

    oklch(75.4% 0.138 291.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA417

    #DFA417

    oklch(75.5% 0.151 81.7)

  • #00C7D2

    #00C7D2

    oklch(75.5% 0.128 201.9)

  • #DB8DE8

    #DB8DE8

    oklch(75.4% 0.151 321.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA417

    #DFA417

    oklch(75.5% 0.151 81.7)

  • #00CDA4

    #00CDA4

    oklch(75.5% 0.147 171.5)

  • #83AFFF

    #83AFFF

    oklch(75.5% 0.125 261.8)

  • #F684BA

    #F684BA

    oklch(75.4% 0.151 351.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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