#D7940D

Closest named color: Yellow Ochre (#CB9D06). oklch(71.5% 0.148 76), rgb(215, 148, 13).

Aa

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

About this color

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

Hue familyOranges
Lightnessmedium-light (71%)
Chromavivid (0.148)
Temperaturewarm
Nearest nameYellow Ochre (#CB9D06)
Black text8.13:1
White text2.58:1

Values

HEX#D7940D
RGBrgb(215, 148, 13)
HSLhsl(40, 89%, 45%)
OKLCHoklch(71.5% 0.148 76)

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 #D7940D 2.58:1 Fails Lc -55.3 Large or bold text, headings
Black text on #D7940D 8.13:1 AAA Lc 53.8 Large or bold text, headings
#D7940D text on white 2.58:1 Fails Lc 50.2 Large or bold text, headings
#D7940D text on black 8.13:1 AAA Lc -51.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

    #EDD5B4

    oklch(88.4% 0.051 75.8)

  4. Step 300

    300

    #E3B97C

    oklch(80.9% 0.092 76.2)

  5. Step 400

    400 (this color)

    #D7940D

    oklch(71.5% 0.148 76)

  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

    #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

#D7940D 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)#AC97000.071
Deuteranopia (no green cones)#BCA8170.063
Tritanopia (no blue cones)#EB827E0.125
Achromatopsia (no color)#A1A1A10.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7940D

    #D7940D

    oklch(71.5% 0.148 76)

  • #61A4FD

    #61A4FD

    oklch(71.4% 0.148 256.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7940D

    #D7940D

    oklch(71.5% 0.148 76)

  • #ED824C

    #ED824C

    oklch(71.5% 0.148 46.1)

  • #B0A816

    #B0A816

    oklch(71.6% 0.148 106)

Open the analogous palette in the generator

Split complementary

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

  • #D7940D

    #D7940D

    oklch(71.5% 0.148 76)

  • #00B3E4

    #00B3E4

    oklch(71.4% 0.137 226.3)

  • #9C93FA

    #9C93FA

    oklch(71.4% 0.147 286)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7940D

    #D7940D

    oklch(71.5% 0.148 76)

  • #00BABC

    #00BABC

    oklch(71.5% 0.122 196.1)

  • #C784E1

    #C784E1

    oklch(71.5% 0.148 316.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7940D

    #D7940D

    oklch(71.5% 0.148 76)

  • #04BF8D

    #04BF8D

    oklch(71.4% 0.148 165.9)

  • #61A4FD

    #61A4FD

    oklch(71.4% 0.148 256.1)

  • #E37AB6

    #E37AB6

    oklch(71.5% 0.147 346.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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