#DFAF52
Closest named color: Desert (#CCAD60). oklch(78% 0.124 81.7), rgb(223, 175, 82).
Aa
Black text reads best on this color (10.39:1).
About this color
#DFAF52 is a light, moderately saturated orange. In OKLCH its lightness is 78%, its chroma 0.124 and its hue 82°. Its hue sits on the warm side of the wheel. The nearest named color is Desert (#CCAD60), ΔE 0.032 away. Black text reads best on it, at 10.39:1.
| Hue family | Oranges |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.124) |
| Temperature | warm |
| Nearest name | Desert (#CCAD60) |
| Black text | 10.39:1 |
| White text | 2.02:1 |
Values
| HEX | #DFAF52 |
| RGB | rgb(223, 175, 82) |
| HSL | hsl(40, 69%, 60%) |
| OKLCH | oklch(78% 0.124 81.7) |
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 #DFAF52 | 2.02:1 | Fails | Lc -43.6 | Non-text elements, placeholder text |
| Black text on #DFAF52 | 10.39:1 | AAA | Lc 64.8 | Content text, not long reading |
| #DFAF52 text on white | 2.02:1 | Fails | Lc 39.1 | Non-text elements, placeholder text |
| #DFAF52 text on black | 10.39:1 | AAA | Lc -63.2 | 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
#FBF5E9
oklch(97.2% 0.017 84.6)
-
Step 100
100
#F6E8D0
oklch(93.6% 0.035 81.3)
-
Step 200
200
#F0D5A6
oklch(88.4% 0.068 81.3)
-
Step 300
300 (this color)
#DFAF52
oklch(78% 0.124 81.7)
-
Step 400
400
#CE9600
oklch(70.8% 0.146 81.8)
-
Step 500
500
#B18000
oklch(63.2% 0.13 81.5)
-
Step 600
600
#956B00
oklch(55.6% 0.115 81.4)
-
Step 700
700
#7D5A00
oklch(49.1% 0.101 82.2)
-
Step 800
800
#674900
oklch(42.7% 0.088 81.6)
-
Step 900
900
#563D00
oklch(37.8% 0.078 82.4)
-
Step 950
950
#342300
oklch(27% 0.056 81.4)
#DFAF52 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) | #C3AF48 | 0.046 |
| Deuteranopia (no green cones) | #CFBB55 | 0.037 |
| Tritanopia (no blue cones) | #F1A09B | 0.110 |
| Achromatopsia (no color) | #B6B6B6 | 0.124 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DFAF52
#DFAF52
oklch(78% 0.124 81.7)
- #90B8FF
#90B8FF
oklch(78.1% 0.111 261.5)
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 #DFAF52, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Desert #CCAD60 ΔE 0.032
- Macaroni And Cheese #EFB435 ΔE 0.036
- Goldenrod #DAA520 ΔE 0.037
- Squash #F2AB15 ΔE 0.040
- Earth Yellow #DDA15E ΔE 0.042
- Burnt Yellow #D5AB09 ΔE 0.043
- Sand Brown #CBA560 ΔE 0.046
- Sandstone #C9AE74 ΔE 0.046
Use #DFAF52 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.