#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 family | Oranges |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.148) |
| Temperature | warm |
| Nearest name | Yellow Ochre (#CB9D06) |
| Black text | 8.13:1 |
| White text | 2.58:1 |
Values
| HEX | #D7940D |
| RGB | rgb(215, 148, 13) |
| HSL | hsl(40, 89%, 45%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#FAF5ED
oklch(97.2% 0.012 79.8)
-
Step 100
100
#F4E8D7
oklch(93.6% 0.026 76.8)
-
Step 200
200
#EDD5B4
oklch(88.4% 0.051 75.8)
-
Step 300
300
#E3B97C
oklch(80.9% 0.092 76.2)
-
Step 400
400 (this color)
#D7940D
oklch(71.5% 0.148 76)
-
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
#593B00
oklch(37.8% 0.079 76.7)
-
Step 950
950
#362200
oklch(27% 0.057 76.3)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #AC9700 | 0.071 |
| Deuteranopia (no green cones) | #BCA817 | 0.063 |
| Tritanopia (no blue cones) | #EB827E | 0.125 |
| Achromatopsia (no color) | #A1A1A1 | 0.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)
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 #D7940D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Yellow Ochre #CB9D06 ΔE 0.029
- Ocre #C69C04 ΔE 0.034
- Goldenrod #DAA520 ΔE 0.042
- Ocher #BF9B0C ΔE 0.042
- Ochre #BF9005 ΔE 0.043
- Gamboge #EE9B00 ΔE 0.044
- Dull Orange #D8863B ΔE 0.047
- Camel #C69F59 ΔE 0.050
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.