#D3971F
Closest named color: Yellow Ochre (#CB9D06). oklch(71.7% 0.141 78.4), rgb(211, 151, 31).
Aa
Black text reads best on this color (8.21:1).
About this color
#D3971F is a medium-light, vivid orange. In OKLCH its lightness is 72%, its chroma 0.141 and its hue 78°. Its hue sits on the warm side of the wheel. The nearest named color is Yellow Ochre (#CB9D06), ΔE 0.023 away. Black text reads best on it, at 8.21:1.
| Hue family | Oranges |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.141) |
| Temperature | warm |
| Nearest name | Yellow Ochre (#CB9D06) |
| Black text | 8.21:1 |
| White text | 2.55:1 |
Values
| HEX | #D3971F |
| RGB | rgb(211, 151, 31) |
| HSL | hsl(40, 74%, 47%) |
| OKLCH | oklch(71.7% 0.141 78.4) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #D3971F | 2.55:1 | Fails | Lc -54.9 | Large or bold text, headings |
| Black text on #D3971F | 8.21:1 | AAA | Lc 54.2 | Large or bold text, headings |
| #D3971F text on white | 2.55:1 | Fails | Lc 49.8 | Large or bold text, headings |
| #D3971F text on black | 8.21:1 | AAA | Lc -52.2 | 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.
-
Step 50
50
#FAF5ED
oklch(97.2% 0.012 79.8)
-
Step 100
100
#F3E8D7
oklch(93.5% 0.026 78.9)
-
Step 200
200
#EBD6B5
oklch(88.5% 0.05 79.1)
-
Step 300
300
#E0BA7E
oklch(80.9% 0.089 78.4)
-
Step 400
400 (this color)
#D3971F
oklch(71.7% 0.141 78.4)
-
Step 500
500
#B47E00
oklch(63.1% 0.131 78.5)
-
Step 600
600
#986900
oklch(55.6% 0.116 77.9)
-
Step 700
700
#805800
oklch(49.1% 0.102 78.1)
-
Step 800
800
#694800
oklch(42.7% 0.089 78.7)
-
Step 900
900
#583B00
oklch(37.6% 0.078 77.7)
-
Step 950
950
#352200
oklch(26.9% 0.056 77.8)
#D3971F 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #AE9900 | 0.063 |
| Deuteranopia (no green cones) | #BCA825 | 0.054 |
| Tritanopia (no blue cones) | #E68681 | 0.122 |
| Achromatopsia (no color) | #A2A2A2 | 0.141 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D3971F
#D3971F
oklch(71.7% 0.141 78.4)
- #6AA4FB
#6AA4FB
oklch(71.7% 0.142 258.3)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D3971F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Yellow Ochre #CB9D06 ΔE 0.023
- Ocre #C69C04 ΔE 0.028
- Ocher #BF9B0C ΔE 0.036
- Goldenrod #DAA520 ΔE 0.038
- Ochre #BF9005 ΔE 0.040
- Camel #C69F59 ΔE 0.042
- Gamboge #EE9B00 ΔE 0.047
- Yellow Brown #B79400 ΔE 0.050
Use #D3971F 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.