#D98F02

Closest named color: Dull Orange (#D8863B). oklch(70.8% 0.151 72.6), rgb(217, 143, 2).

Aa

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

About this color

#D98F02 is a medium-light, vivid orange. In OKLCH its lightness is 71%, its chroma 0.151 and its hue 73°. Its hue sits on the warm side of the wheel. The nearest named color is Dull Orange (#D8863B), ΔE 0.039 away. Black text reads best on it, at 7.88:1.

Hue familyOranges
Lightnessmedium-light (71%)
Chromavivid (0.151)
Temperaturewarm
Nearest nameDull Orange (#D8863B)
Black text7.88:1
White text2.66:1

Values

HEX#D98F02
RGBrgb(217, 143, 2)
HSLhsl(39, 98%, 43%)
OKLCHoklch(70.8% 0.151 72.6)

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 #D98F02 2.66:1 Fails Lc -56.6 Large or bold text, headings
Black text on #D98F02 7.88:1 AAA Lc 52.6 Large or bold text, headings
#D98F02 text on white 2.66:1 Fails Lc 51.5 Large or bold text, headings
#D98F02 text on black 7.88:1 AAA Lc -50.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

    #FBF4EC

    oklch(97% 0.013 71.3)

  2. Step 100

    100

    #F6E7D7

    oklch(93.6% 0.027 69.3)

  3. Step 200

    200

    #EFD4B4

    oklch(88.4% 0.052 71.8)

  4. Step 300

    300

    #E6B77B

    oklch(80.8% 0.094 72.6)

  5. Step 400

    400 (this color)

    #D98F02

    oklch(70.8% 0.151 72.6)

  6. Step 500

    500

    #BA7A00

    oklch(63.1% 0.135 72.7)

  7. Step 600

    600

    #9D6600

    oklch(55.6% 0.119 72.5)

  8. Step 700

    700

    #845500

    oklch(49% 0.105 72.4)

  9. Step 800

    800

    #6D4500

    oklch(42.6% 0.091 72)

  10. Step 900

    900

    #5B3900

    oklch(37.6% 0.08 72.2)

  11. Step 950

    950

    #372100

    oklch(27% 0.057 72.9)

Export this scale for Tailwind in the Tailwind colors tool

#D98F02 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)#A994000.080
Deuteranopia (no green cones)#BAA60D0.073
Tritanopia (no blue cones)#ED7C7A0.124
Achromatopsia (no color)#9E9E9E0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #D98F02

    #D98F02

    oklch(70.8% 0.151 72.6)

  • #54A4FC

    #54A4FC

    oklch(70.8% 0.152 252.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D98F02

    #D98F02

    oklch(70.8% 0.151 72.6)

  • #ED7D4F

    #ED7D4F

    oklch(70.8% 0.151 42.3)

  • #B3A300

    #B3A300

    oklch(70.7% 0.148 102.4)

Open the analogous palette in the generator

Split complementary

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

  • #D98F02

    #D98F02

    oklch(70.8% 0.151 72.6)

  • #00B2DC

    #00B2DC

    oklch(70.8% 0.132 222.7)

  • #9492FB

    #9492FB

    oklch(70.7% 0.151 282.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D98F02

    #D98F02

    oklch(70.8% 0.151 72.6)

  • #00B8B5

    #00B8B5

    oklch(70.8% 0.121 192.7)

  • #C183E4

    #C183E4

    oklch(70.9% 0.151 312.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D98F02

    #D98F02

    oklch(70.8% 0.151 72.6)

  • #14BD84

    #14BD84

    oklch(70.7% 0.151 162.4)

  • #54A4FC

    #54A4FC

    oklch(70.8% 0.152 252.6)

  • #DF77BA

    #DF77BA

    oklch(70.7% 0.151 342.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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