#D7971B

Closest named color: Yellow Ochre (#CB9D06). oklch(72.1% 0.145 77), rgb(215, 151, 27).

Aa

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

About this color

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

Hue familyOranges
Lightnessmedium-light (72%)
Chromavivid (0.145)
Temperaturewarm
Nearest nameYellow Ochre (#CB9D06)
Black text8.33:1
White text2.52:1

Values

HEX#D7971B
RGBrgb(215, 151, 27)
HSLhsl(40, 78%, 47%)
OKLCHoklch(72.1% 0.145 77)

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 #D7971B 2.52:1 Fails Lc -54.2 Large or bold text, headings
Black text on #D7971B 8.33:1 AAA Lc 54.8 Large or bold text, headings
#D7971B text on white 2.52:1 Fails Lc 49.2 Large or bold text, headings
#D7971B text on black 8.33:1 AAA Lc -52.8 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

    #FAF5ED

    oklch(97.2% 0.012 79.8)

  2. Step 100

    100

    #F4E8D7

    oklch(93.6% 0.026 76.8)

  3. Step 200

    200

    #ECD6B5

    oklch(88.6% 0.05 78)

  4. Step 300

    300

    #E2B97D

    oklch(80.9% 0.09 76.4)

  5. Step 400

    400 (this color)

    #D7971B

    oklch(72.1% 0.145 77)

  6. Step 500

    500

    #B67D00

    oklch(63.2% 0.132 76.8)

  7. Step 600

    600

    #996900

    oklch(55.7% 0.116 77.3)

  8. Step 700

    700

    #815800

    oklch(49.2% 0.103 77.4)

  9. Step 800

    800

    #6A4700

    oklch(42.6% 0.089 76.7)

  10. Step 900

    900

    #593B00

    oklch(37.8% 0.079 76.7)

  11. Step 950

    950

    #362200

    oklch(27% 0.057 76.3)

Export this scale for Tailwind in the Tailwind colors tool

#D7971B 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)#AF9A000.067
Deuteranopia (no green cones)#BEA9220.058
Tritanopia (no blue cones)#EB85810.124
Achromatopsia (no color)#A3A3A30.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7971B

    #D7971B

    oklch(72.1% 0.145 77)

  • #67A6FE

    #67A6FE

    oklch(72.1% 0.145 257)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7971B

    #D7971B

    oklch(72.1% 0.145 77)

  • #ED854F

    #ED854F

    oklch(72% 0.145 46.8)

  • #B0AA24

    #B0AA24

    oklch(72.1% 0.144 106.8)

Open the analogous palette in the generator

Split complementary

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

  • #D7971B

    #D7971B

    oklch(72.1% 0.145 77)

  • #00B5E8

    #00B5E8

    oklch(72.1% 0.139 227)

  • #A095FA

    #A095FA

    oklch(72.1% 0.144 287.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7971B

    #D7971B

    oklch(72.1% 0.145 77)

  • #00BCBF

    #00BCBF

    oklch(72.1% 0.123 196.8)

  • #C986E0

    #C986E0

    oklch(72% 0.145 317.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7971B

    #D7971B

    oklch(72.1% 0.145 77)

  • #15C192

    #15C192

    oklch(72.1% 0.144 167.2)

  • #67A6FE

    #67A6FE

    oklch(72.1% 0.145 257)

  • #E57DB6

    #E57DB6

    oklch(72.1% 0.144 347.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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