#D7A21C

Closest named color: Goldenrod (#DAA520). oklch(74.2% 0.146 83.8), rgb(215, 162, 28).

Aa

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

About this color

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

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

Values

HEX#D7A21C
RGBrgb(215, 162, 28)
HSLhsl(43, 77%, 48%)
OKLCHoklch(74.2% 0.146 83.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 #D7A21C 2.31:1 Fails Lc -50.3 Large or bold text, headings
Black text on #D7A21C 9.07:1 AAA Lc 58.6 Large or bold text, headings
#D7A21C text on white 2.31:1 Fails Lc 45.4 Large or bold text, headings
#D7A21C text on black 9.07:1 AAA Lc -56.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

    #F9F5EC

    oklch(97.1% 0.013 86.8)

  2. Step 100

    100

    #F2E9D6

    oklch(93.6% 0.027 85.7)

  3. Step 200

    200

    #E9D7B4

    oklch(88.5% 0.05 83.9)

  4. Step 300

    300

    #DDBC7B

    oklch(80.9% 0.091 83.6)

  5. Step 400

    400 (this color)

    #D7A21C

    oklch(74.2% 0.146 83.8)

  6. Step 500

    500

    #AE8100

    oklch(63% 0.129 83.9)

  7. Step 600

    600

    #936C00

    oklch(55.6% 0.114 83.5)

  8. Step 700

    700

    #7C5B00

    oklch(49.2% 0.101 83.9)

  9. Step 800

    800

    #664A00

    oklch(42.8% 0.088 83.6)

  10. Step 900

    900

    #553D00

    oklch(37.7% 0.077 83.5)

  11. Step 950

    950

    #332400

    oklch(27.1% 0.056 85)

Export this scale for Tailwind in the Tailwind colors tool

#D7A21C 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)#B8A2000.052
Deuteranopia (no green cones)#C5B0250.043
Tritanopia (no blue cones)#EA918B0.131
Achromatopsia (no color)#AAAAAA0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7A21C

    #D7A21C

    oklch(74.2% 0.146 83.8)

  • #80AAFF

    #80AAFF

    oklch(74.3% 0.132 263.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7A21C

    #D7A21C

    oklch(74.2% 0.146 83.8)

  • #F28F49

    #F28F49

    oklch(74.2% 0.147 53.5)

  • #ABB536

    #ABB536

    oklch(74.2% 0.147 113.9)

Open the analogous palette in the generator

Split complementary

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

  • #D7A21C

    #D7A21C

    oklch(74.2% 0.146 83.8)

  • #27B9F9

    #27B9F9

    oklch(74.2% 0.147 234)

  • #B198FE

    #B198FE

    oklch(74.3% 0.145 293.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7A21C

    #D7A21C

    oklch(74.2% 0.146 83.8)

  • #00C2D0

    #00C2D0

    oklch(74.2% 0.127 204)

  • #D88AE0

    #D88AE0

    oklch(74.3% 0.146 323.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7A21C

    #D7A21C

    oklch(74.2% 0.146 83.8)

  • #00C8A4

    #00C8A4

    oklch(74.3% 0.142 173.5)

  • #80AAFF

    #80AAFF

    oklch(74.3% 0.132 263.5)

  • #F182B2

    #F182B2

    oklch(74.2% 0.145 353.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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