#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 family | Oranges |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.148) |
| Temperature | warm |
| Nearest name | Yellow Ochre (#CB9D06) |
| Black text | 8.16:1 |
| White text | 2.57:1 |
Values
| HEX | #D8940F |
| RGB | rgb(216, 148, 15) |
| HSL | hsl(40, 87%, 45%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#FAF4ED
oklch(97% 0.011 71.9)
-
Step 100
100
#F5E8D7
oklch(93.7% 0.027 74.8)
-
Step 200
200
#EDD5B4
oklch(88.4% 0.051 75.8)
-
Step 300
300
#E4B97C
oklch(81% 0.093 75.5)
-
Step 400
400 (this color)
#D8940F
oklch(71.6% 0.148 75.5)
-
Step 500
500
#B77C00
oklch(63.1% 0.133 75.6)
-
Step 600
600
#9A6800
oklch(55.6% 0.117 75.8)
-
Step 700
700
#825700
oklch(49.1% 0.103 75.7)
-
Step 800
800
#6B4700
oklch(42.8% 0.09 75.9)
-
Step 900
900
#5A3A00
oklch(37.7% 0.08 74.4)
-
Step 950
950
#362200
oklch(27% 0.057 76.3)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #AD9800 | 0.072 |
| Deuteranopia (no green cones) | #BDA818 | 0.063 |
| Tritanopia (no blue cones) | #EC827E | 0.124 |
| Achromatopsia (no color) | #A1A1A1 | 0.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)
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 #D8940F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Yellow Ochre #CB9D06 ΔE 0.031
- Ocre #C69C04 ΔE 0.035
- Goldenrod #DAA520 ΔE 0.042
- Gamboge #EE9B00 ΔE 0.042
- Ocher #BF9B0C ΔE 0.044
- Ochre #BF9005 ΔE 0.045
- Dull Orange #D8863B ΔE 0.047
- Camel #C69F59 ΔE 0.050
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.