#DFB340
Closest named color: Macaroni And Cheese (#EFB435). oklch(78.6% 0.138 87.3), rgb(223, 179, 64).
Aa
Black text reads best on this color (10.65:1).
About this color
#DFB340 is a light, moderately saturated orange. In OKLCH its lightness is 79%, its chroma 0.138 and its hue 87°. Its hue sits on the warm side of the wheel. The nearest named color is Macaroni And Cheese (#EFB435), ΔE 0.025 away. Black text reads best on it, at 10.65:1.
| Hue family | Oranges |
| Lightness | light (79%) |
| Chroma | moderately saturated (0.138) |
| Temperature | warm |
| Nearest name | Macaroni And Cheese (#EFB435) |
| Black text | 10.65:1 |
| White text | 1.97:1 |
Values
| HEX | #DFB340 |
| RGB | rgb(223, 179, 64) |
| HSL | hsl(43, 71%, 56%) |
| OKLCH | oklch(78.6% 0.138 87.3) |
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 #DFB340 | 1.97:1 | Fails | Lc -42.2 | Non-text elements, placeholder text |
| Black text on #DFB340 | 10.65:1 | AAA | Lc 66.1 | Content text, not long reading |
| #DFB340 text on white | 1.97:1 | Fails | Lc 37.8 | Non-text elements, placeholder text |
| #DFB340 text on black | 10.65:1 | AAA | Lc -64.6 | Content text, not long reading |
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 300.
-
Step 50
50
#FBF5E8
oklch(97.1% 0.018 86.1)
-
Step 100
100
#F5E9CC
oklch(93.6% 0.04 88.2)
-
Step 200
200
#EFD79F
oklch(88.6% 0.077 87.5)
-
Step 300
300 (this color)
#DFB340
oklch(78.6% 0.138 87.3)
-
Step 400
400
#C79900
oklch(70.6% 0.144 87)
-
Step 500
500
#AB8300
oklch(63.1% 0.129 87)
-
Step 600
600
#906E00
oklch(55.7% 0.114 87.1)
-
Step 700
700
#795C00
oklch(49.1% 0.1 87.1)
-
Step 800
800
#634B00
oklch(42.6% 0.087 87.5)
-
Step 900
900
#533E00
oklch(37.6% 0.077 86.9)
-
Step 950
950
#322400
oklch(27% 0.055 86.6)
#DFB340 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) | #C8B230 | 0.039 |
| Deuteranopia (no green cones) | #D2BE45 | 0.032 |
| Tritanopia (no blue cones) | #F1A49C | 0.124 |
| Achromatopsia (no color) | #B9B9B9 | 0.138 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DFB340
#DFB340
oklch(78.6% 0.138 87.3)
- #9BB7FF
#9BB7FF
oklch(78.6% 0.108 267.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 #DFB340, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Macaroni And Cheese #EFB435 ΔE 0.025
- Dark Yellow #D5B60A ΔE 0.033
- Squash #F2AB15 ΔE 0.034
- Burnt Yellow #D5AB09 ΔE 0.034
- Goldenrod #DAA520 ΔE 0.037
- Mustard #CEB301 ΔE 0.040
- Desert #CCAD60 ΔE 0.044
- Mustard Yellow #D2BD0A ΔE 0.045
Use #DFB340 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.