#D8940F

Closest named color: Yellow Ochre (#CB9D06). oklch(71.6% 0.148 75.5), rgb(216, 148, 15).

Aa

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

About this color

#D8940F is a medium-light, vivid orange. In OKLCH its lightness is 72%, its chroma 0.148 and its hue 75°. Its hue sits on the warm side of the wheel. The nearest named color is Yellow Ochre (#CB9D06), ΔE 0.031 away. Black text reads best on it, at 8.16:1.

Hue familyOranges
Lightnessmedium-light (72%)
Chromavivid (0.148)
Temperaturewarm
Nearest nameYellow Ochre (#CB9D06)
Black text8.16:1
White text2.57:1

Values

HEX#D8940F
RGBrgb(216, 148, 15)
HSLhsl(40, 87%, 45%)
OKLCHoklch(71.6% 0.148 75.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 #D8940F 2.57:1 Fails Lc -55.1 Large or bold text, headings
Black text on #D8940F 8.16:1 AAA Lc 54.0 Large or bold text, headings
#D8940F text on white 2.57:1 Fails Lc 50.0 Large or bold text, headings
#D8940F text on black 8.16:1 AAA Lc -51.9 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

    #FAF4ED

    oklch(97% 0.011 71.9)

  2. Step 100

    100

    #F5E8D7

    oklch(93.7% 0.027 74.8)

  3. Step 200

    200

    #EDD5B4

    oklch(88.4% 0.051 75.8)

  4. Step 300

    300

    #E4B97C

    oklch(81% 0.093 75.5)

  5. Step 400

    400 (this color)

    #D8940F

    oklch(71.6% 0.148 75.5)

  6. Step 500

    500

    #B77C00

    oklch(63.1% 0.133 75.6)

  7. Step 600

    600

    #9A6800

    oklch(55.6% 0.117 75.8)

  8. Step 700

    700

    #825700

    oklch(49.1% 0.103 75.7)

  9. Step 800

    800

    #6B4700

    oklch(42.8% 0.09 75.9)

  10. Step 900

    900

    #5A3A00

    oklch(37.7% 0.08 74.4)

  11. Step 950

    950

    #362200

    oklch(27% 0.057 76.3)

Export this scale for Tailwind in the Tailwind colors tool

#D8940F 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)#AD98000.072
Deuteranopia (no green cones)#BDA8180.063
Tritanopia (no blue cones)#EC827E0.124
Achromatopsia (no color)#A1A1A10.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8940F

    #D8940F

    oklch(71.6% 0.148 75.5)

  • #60A5FE

    #60A5FE

    oklch(71.6% 0.148 255.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8940F

    #D8940F

    oklch(71.6% 0.148 75.5)

  • #EE824E

    #EE824E

    oklch(71.7% 0.149 45.2)

  • #B1A815

    #B1A815

    oklch(71.7% 0.148 105.6)

Open the analogous palette in the generator

Split complementary

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

  • #D8940F

    #D8940F

    oklch(71.6% 0.148 75.5)

  • #00B4E3

    #00B4E3

    oklch(71.6% 0.136 225.1)

  • #9C94FB

    #9C94FB

    oklch(71.7% 0.147 285.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8940F

    #D8940F

    oklch(71.6% 0.148 75.5)

  • #00BBBC

    #00BBBC

    oklch(71.7% 0.122 195.5)

  • #C685E2

    #C685E2

    oklch(71.6% 0.147 315.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8940F

    #D8940F

    oklch(71.6% 0.148 75.5)

  • #0DC08D

    #0DC08D

    oklch(71.7% 0.148 165.5)

  • #60A5FE

    #60A5FE

    oklch(71.6% 0.148 255.6)

  • #E37AB8

    #E37AB8

    oklch(71.5% 0.148 345.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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