#DFA040

Closest named color: Earth Yellow (#DDA15E). oklch(74.9% 0.133 74.3), rgb(223, 160, 64).

Aa

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

About this color

#DFA040 is a medium-light, moderately saturated orange. In OKLCH its lightness is 75%, its chroma 0.133 and its hue 74°. Its hue sits on the warm side of the wheel. The nearest named color is Earth Yellow (#DDA15E), ΔE 0.026 away. Black text reads best on it, at 9.23:1.

Hue familyOranges
Lightnessmedium-light (75%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest nameEarth Yellow (#DDA15E)
Black text9.23:1
White text2.27:1

Values

HEX#DFA040
RGBrgb(223, 160, 64)
HSLhsl(36, 71%, 56%)
OKLCHoklch(74.9% 0.133 74.3)

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 #DFA040 2.27:1 Fails Lc -49.4 Large or bold text, headings
Black text on #DFA040 9.23:1 AAA Lc 59.4 Large or bold text, headings
#DFA040 text on white 2.27:1 Fails Lc 44.6 Non-text elements, placeholder text
#DFA040 text on black 9.23:1 AAA Lc -57.5 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

    #FAF5ED

    oklch(97.2% 0.012 79.8)

  2. Step 100

    100

    #F4E8D9

    oklch(93.6% 0.024 73.6)

  3. Step 200

    200

    #ECD5B8

    oklch(88.5% 0.046 73.6)

  4. Step 300

    300

    #E1B984

    oklch(80.9% 0.083 74)

  5. Step 400

    400 (this color)

    #DFA040

    oklch(74.9% 0.133 74.3)

  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

    #6C4600

    oklch(42.7% 0.091 73.9)

  10. Step 900

    900

    #5A3A00

    oklch(37.7% 0.08 74.4)

  11. Step 950

    950

    #372100

    oklch(27% 0.057 72.9)

Export this scale for Tailwind in the Tailwind colors tool

#DFA040 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)#B7A3340.066
Deuteranopia (no green cones)#C6B2430.057
Tritanopia (no blue cones)#F2908C0.110
Achromatopsia (no color)#ACACAC0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA040

    #DFA040

    oklch(74.9% 0.133 74.3)

  • #71B1FF

    #71B1FF

    oklch(75% 0.131 254.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA040

    #DFA040

    oklch(74.9% 0.133 74.3)

  • #F39165

    #F39165

    oklch(75.1% 0.133 44.4)

  • #BCB240

    #BCB240

    oklch(75.1% 0.133 104.3)

Open the analogous palette in the generator

Split complementary

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

  • #DFA040

    #DFA040

    oklch(74.9% 0.133 74.3)

  • #2ABFEC

    #2ABFEC

    oklch(75% 0.133 224.2)

  • #A4A1FE

    #A4A1FE

    oklch(74.9% 0.132 284.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA040

    #DFA040

    oklch(74.9% 0.133 74.3)

  • #00C6C6

    #00C6C6

    oklch(74.8% 0.128 194.8)

  • #CC93E8

    #CC93E8

    oklch(74.9% 0.133 314.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA040

    #DFA040

    oklch(74.9% 0.133 74.3)

  • #49C898

    #49C898

    oklch(75% 0.133 164.5)

  • #71B1FF

    #71B1FF

    oklch(75% 0.131 254.2)

  • #E88AC2

    #E88AC2

    oklch(74.9% 0.133 344.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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