#D98E02

Closest named color: Dull Orange (#D8863B). oklch(70.6% 0.151 72), rgb(217, 142, 2).

Aa

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

About this color

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

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

Values

HEX#D98E02
RGBrgb(217, 142, 2)
HSLhsl(39, 98%, 43%)
OKLCHoklch(70.6% 0.151 72)

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 #D98E02 2.68:1 Fails Lc -57.0 Large or bold text, headings
Black text on #D98E02 7.82:1 AAA Lc 52.3 Large or bold text, headings
#D98E02 text on white 2.68:1 Fails Lc 51.8 Large or bold text, headings
#D98E02 text on black 7.82:1 AAA Lc -50.1 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

    #E7B77B

    oklch(80.9% 0.095 72)

  5. Step 400

    400 (this color)

    #D98E02

    oklch(70.6% 0.151 72)

  6. Step 500

    500

    #BB7A00

    oklch(63.2% 0.135 72.2)

  7. Step 600

    600

    #9D6600

    oklch(55.6% 0.119 72.5)

  8. Step 700

    700

    #855500

    oklch(49.1% 0.105 71.8)

  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

#D98E02 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)#A893000.082
Deuteranopia (no green cones)#B9A50D0.074
Tritanopia (no blue cones)#ED7B790.123
Achromatopsia (no color)#9E9E9E0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #D98E02

    #D98E02

    oklch(70.6% 0.151 72)

  • #52A4FB

    #52A4FB

    oklch(70.6% 0.151 252)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D98E02

    #D98E02

    oklch(70.6% 0.151 72)

  • #ED7C4F

    #ED7C4F

    oklch(70.6% 0.152 41.7)

  • #B3A200

    #B3A200

    oklch(70.5% 0.148 101.9)

Open the analogous palette in the generator

Split complementary

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

  • #D98E02

    #D98E02

    oklch(70.6% 0.151 72)

  • #00B1DA

    #00B1DA

    oklch(70.5% 0.131 222.2)

  • #9292FB

    #9292FB

    oklch(70.5% 0.151 281.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D98E02

    #D98E02

    oklch(70.6% 0.151 72)

  • #00B8B4

    #00B8B4

    oklch(70.7% 0.121 192)

  • #BF82E4

    #BF82E4

    oklch(70.5% 0.151 311.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D98E02

    #D98E02

    oklch(70.6% 0.151 72)

  • #17BC83

    #17BC83

    oklch(70.5% 0.15 162.2)

  • #52A4FB

    #52A4FB

    oklch(70.6% 0.151 252)

  • #DE77BA

    #DE77BA

    oklch(70.5% 0.15 342.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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