#DFA252

Closest named color: Earth Yellow (#DDA15E). oklch(75.5% 0.121 71.5), rgb(223, 162, 82).

Aa

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

About this color

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

Hue familyOranges
Lightnessmedium-light (76%)
Chromamoderately saturated (0.121)
Temperaturewarm
Nearest nameEarth Yellow (#DDA15E)
Black text9.42:1
White text2.22:1

Values

HEX#DFA252
RGBrgb(223, 162, 82)
HSLhsl(34, 69%, 60%)
OKLCHoklch(75.5% 0.121 71.5)

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 #DFA252 2.22:1 Fails Lc -48.5 Large or bold text, headings
Black text on #DFA252 9.42:1 AAA Lc 60.2 Content text, not long reading
#DFA252 text on white 2.22:1 Fails Lc 43.7 Non-text elements, placeholder text
#DFA252 text on black 9.42:1 AAA Lc -58.4 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

    #FAF4EE

    oklch(97% 0.01 67.7)

  2. Step 100

    100

    #F3E8DA

    oklch(93.6% 0.022 74.1)

  3. Step 200

    200

    #EBD5BC

    oklch(88.5% 0.041 70.8)

  4. Step 300

    300

    #E0B98B

    oklch(80.9% 0.076 71.1)

  5. Step 400

    400 (this color)

    #DFA252

    oklch(75.5% 0.121 71.5)

  6. Step 500

    500

    #BB7900

    oklch(63% 0.135 71.5)

  7. Step 600

    600

    #9E6500

    oklch(55.5% 0.12 71.1)

  8. Step 700

    700

    #855500

    oklch(49.1% 0.105 71.8)

  9. Step 800

    800

    #6E4500

    oklch(42.8% 0.092 71.2)

  10. Step 900

    900

    #5C3900

    oklch(37.7% 0.081 71.3)

  11. Step 950

    950

    #382100

    oklch(27.1% 0.058 71.5)

Export this scale for Tailwind in the Tailwind colors tool

#DFA252 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)#B7A54A0.065
Deuteranopia (no green cones)#C6B4540.058
Tritanopia (no blue cones)#F193900.099
Achromatopsia (no color)#AEAEAE0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA252

    #DFA252

    oklch(75.5% 0.121 71.5)

  • #74B4FA

    #74B4FA

    oklch(75.5% 0.121 251.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA252

    #DFA252

    oklch(75.5% 0.121 71.5)

  • #F09572

    #F09572

    oklch(75.6% 0.12 41.7)

  • #BFB24F

    #BFB24F

    oklch(75.5% 0.121 101.9)

Open the analogous palette in the generator

Split complementary

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

  • #DFA252

    #DFA252

    oklch(75.5% 0.121 71.5)

  • #41C0E6

    #41C0E6

    oklch(75.5% 0.121 222)

  • #A3A6FA

    #A3A6FA

    oklch(75.6% 0.12 281.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA252

    #DFA252

    oklch(75.5% 0.121 71.5)

  • #2FC7C2

    #2FC7C2

    oklch(75.4% 0.12 191.5)

  • #C999E7

    #C999E7

    oklch(75.5% 0.12 311.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA252

    #DFA252

    oklch(75.5% 0.121 71.5)

  • #5FC797

    #5FC797

    oklch(75.5% 0.121 161.5)

  • #74B4FA

    #74B4FA

    oklch(75.5% 0.121 251.7)

  • #E490C6

    #E490C6

    oklch(75.6% 0.122 341.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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