#DFA126

Closest named color: Goldenrod (#DAA520). oklch(75% 0.146 78.7), rgb(223, 161, 38).

Aa

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

About this color

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

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

Values

HEX#DFA126
RGBrgb(223, 161, 38)
HSLhsl(40, 74%, 51%)
OKLCHoklch(75% 0.146 78.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 #DFA126 2.26:1 Fails Lc -49.3 Large or bold text, headings
Black text on #DFA126 9.26:1 AAA Lc 59.5 Large or bold text, headings
#DFA126 text on white 2.26:1 Fails Lc 44.4 Non-text elements, placeholder text
#DFA126 text on black 9.26:1 AAA Lc -57.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

    #FAF5ED

    oklch(97.2% 0.012 79.8)

  2. Step 100

    100

    #F4E8D7

    oklch(93.6% 0.026 76.8)

  3. Step 200

    200

    #ECD6B4

    oklch(88.6% 0.051 78.7)

  4. Step 300

    300

    #E1BA7C

    oklch(80.9% 0.091 78.5)

  5. Step 400

    400 (this color)

    #DFA126

    oklch(75% 0.146 78.7)

  6. Step 500

    500

    #B47E00

    oklch(63.1% 0.131 78.5)

  7. Step 600

    600

    #976A00

    oklch(55.7% 0.116 79.3)

  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

    #583C00

    oklch(37.8% 0.079 79.1)

  11. Step 950

    950

    #352200

    oklch(26.9% 0.056 77.8)

Export this scale for Tailwind in the Tailwind colors tool

#DFA126 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)#B9A3010.065
Deuteranopia (no green cones)#C7B22C0.054
Tritanopia (no blue cones)#F38F8A0.126
Achromatopsia (no color)#ACACAC0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA126

    #DFA126

    oklch(75% 0.146 78.7)

  • #7AAFFF

    #7AAFFF

    oklch(75% 0.129 258.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA126

    #DFA126

    oklch(75% 0.146 78.7)

  • #F78F54

    #F78F54

    oklch(75% 0.146 48.8)

  • #B6B432

    #B6B432

    oklch(74.9% 0.145 108.6)

Open the analogous palette in the generator

Split complementary

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

  • #DFA126

    #DFA126

    oklch(75% 0.146 78.7)

  • #0CBEF6

    #0CBEF6

    oklch(74.9% 0.146 228.5)

  • #AB9EFF

    #AB9EFF

    oklch(74.9% 0.138 288.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA126

    #DFA126

    oklch(75% 0.146 78.7)

  • #00C6CC

    #00C6CC

    oklch(75.1% 0.128 198.7)

  • #D58EE8

    #D58EE8

    oklch(74.9% 0.146 319)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA126

    #DFA126

    oklch(75% 0.146 78.7)

  • #1DCB9D

    #1DCB9D

    oklch(75% 0.146 168.5)

  • #7AAFFF

    #7AAFFF

    oklch(75% 0.129 258.4)

  • #F085BD

    #F085BD

    oklch(74.9% 0.145 348.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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