#D2A304

Closest named color: Goldenrod (#DAA520). oklch(73.8% 0.15 87.7), rgb(210, 163, 4).

Aa

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

About this color

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

Hue familyOranges
Lightnessmedium-light (74%)
Chromavivid (0.150)
Temperaturewarm
Nearest nameGoldenrod (#DAA520)
Black text8.98:1
White text2.33:1

Values

HEX#D2A304
RGBrgb(210, 163, 4)
HSLhsl(46, 96%, 42%)
OKLCHoklch(73.8% 0.15 87.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 #D2A304 2.33:1 Fails Lc -50.8 Large or bold text, headings
Black text on #D2A304 8.98:1 AAA Lc 58.1 Large or bold text, headings
#D2A304 text on white 2.33:1 Fails Lc 45.8 Large or bold text, headings
#D2A304 text on black 8.98:1 AAA Lc -56.2 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

    #F1E9D6

    oklch(93.5% 0.027 87.9)

  3. Step 200

    200

    #E8D8B3

    oklch(88.6% 0.052 87.4)

  4. Step 300

    300

    #DABD78

    oklch(80.8% 0.094 87.5)

  5. Step 400

    400 (this color)

    #D2A304

    oklch(73.8% 0.15 87.7)

  6. Step 500

    500

    #AA8300

    oklch(63% 0.129 87.5)

  7. Step 600

    600

    #8F6E00

    oklch(55.5% 0.114 87.7)

  8. Step 700

    700

    #795C00

    oklch(49.1% 0.1 87.1)

  9. Step 800

    800

    #634B00

    oklch(42.6% 0.087 87.5)

  10. Step 900

    900

    #533E00

    oklch(37.6% 0.077 86.9)

  11. Step 950

    950

    #322400

    oklch(27% 0.055 86.6)

Export this scale for Tailwind in the Tailwind colors tool

#D2A304 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)#B9A2000.040
Deuteranopia (no green cones)#C4AF180.035
Tritanopia (no blue cones)#E5938B0.136
Achromatopsia (no color)#A9A9A90.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2A304

    #D2A304

    oklch(73.8% 0.15 87.7)

  • #85A6FF

    #85A6FF

    oklch(73.8% 0.135 267.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2A304

    #D2A304

    oklch(73.8% 0.15 87.7)

  • #EF8F3C

    #EF8F3C

    oklch(73.7% 0.15 57.7)

  • #A3B636

    #A3B636

    oklch(73.8% 0.15 117.6)

Open the analogous palette in the generator

Split complementary

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

  • #D2A304

    #D2A304

    oklch(73.8% 0.15 87.7)

  • #2EB6FD

    #2EB6FD

    oklch(73.8% 0.151 237.8)

  • #B694FC

    #B694FC

    oklch(73.9% 0.15 297.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2A304

    #D2A304

    oklch(73.8% 0.15 87.7)

  • #00C0D3

    #00C0D3

    oklch(73.8% 0.127 207.3)

  • #DC86DA

    #DC86DA

    oklch(73.8% 0.15 327.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2A304

    #D2A304

    oklch(73.8% 0.15 87.7)

  • #00C6AA

    #00C6AA

    oklch(73.9% 0.136 177.6)

  • #85A6FF

    #85A6FF

    oklch(73.8% 0.135 267.6)

  • #F47FAA

    #F47FAA

    oklch(73.9% 0.15 358.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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