#D2A021

Closest named color: Yellow Ochre (#CB9D06). oklch(73.3% 0.142 84.5), rgb(210, 160, 33).

Aa

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

About this color

#D2A021 is a medium-light, vivid orange. In OKLCH its lightness is 73%, its chroma 0.142 and its hue 85°. Its hue sits on the warm side of the wheel. The nearest named color is Yellow Ochre (#CB9D06), ΔE 0.016 away. Black text reads best on it, at 8.79:1.

Hue familyOranges
Lightnessmedium-light (73%)
Chromavivid (0.142)
Temperaturewarm
Nearest nameYellow Ochre (#CB9D06)
Black text8.79:1
White text2.38:1

Values

HEX#D2A021
RGBrgb(210, 160, 33)
HSLhsl(43, 73%, 48%)
OKLCHoklch(73.3% 0.142 84.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 #D2A021 2.38:1 Fails Lc -51.8 Large or bold text, headings
Black text on #D2A021 8.79:1 AAA Lc 57.1 Large or bold text, headings
#D2A021 text on white 2.38:1 Fails Lc 46.9 Large or bold text, headings
#D2A021 text on black 8.79:1 AAA Lc -55.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

    #F9F5ED

    oklch(97.1% 0.011 84.6)

  2. Step 100

    100

    #F2E9D7

    oklch(93.6% 0.026 84.6)

  3. Step 200

    200

    #E8D7B5

    oklch(88.4% 0.049 84.5)

  4. Step 300

    300

    #DBBC7D

    oklch(80.8% 0.088 84.4)

  5. Step 400

    400 (this color)

    #D2A021

    oklch(73.3% 0.142 84.5)

  6. Step 500

    500

    #AE8200

    oklch(63.2% 0.13 84.6)

  7. Step 600

    600

    #926D00

    oklch(55.7% 0.114 85)

  8. Step 700

    700

    #7B5B00

    oklch(49.1% 0.101 84.7)

  9. Step 800

    800

    #654A00

    oklch(42.7% 0.087 84.5)

  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

#D2A021 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)#B6A0000.048
Deuteranopia (no green cones)#C1AD290.040
Tritanopia (no blue cones)#E490890.127
Achromatopsia (no color)#A8A8A80.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2A021

    #D2A021

    oklch(73.3% 0.142 84.5)

  • #7DA6FF

    #7DA6FF

    oklch(73.3% 0.137 264.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2A021

    #D2A021

    oklch(73.3% 0.142 84.5)

  • #EC8E48

    #EC8E48

    oklch(73.3% 0.142 54.9)

  • #A7B23A

    #A7B23A

    oklch(73.2% 0.142 114.4)

Open the analogous palette in the generator

Split complementary

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

  • #D2A021

    #D2A021

    oklch(73.3% 0.142 84.5)

  • #2EB6F4

    #2EB6F4

    oklch(73.4% 0.142 234.2)

  • #AF95F9

    #AF95F9

    oklch(73.3% 0.143 294.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2A021

    #D2A021

    oklch(73.3% 0.142 84.5)

  • #00BFCD

    #00BFCD

    oklch(73.4% 0.125 204.1)

  • #D588DA

    #D588DA

    oklch(73.4% 0.142 324.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2A021

    #D2A021

    oklch(73.3% 0.142 84.5)

  • #00C4A3

    #00C4A3

    oklch(73.2% 0.138 174.8)

  • #7DA6FF

    #7DA6FF

    oklch(73.3% 0.137 264.5)

  • #ED80AE

    #ED80AE

    oklch(73.3% 0.143 354.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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