#DFA126
Closest named color: Goldenrod (#DAA520). oklch(75% 0.146 78.7), rgb(223, 161, 38).
Aa
Black text reads best on this color (9.26:1).
About this color
#DFA126 is a medium-light, vivid orange. In OKLCH its lightness is 75%, its chroma 0.146 and its hue 79°. Its hue sits on the warm side of the wheel. The nearest named color is Goldenrod (#DAA520), ΔE 0.014 away. Black text reads best on it, at 9.26:1.
| Hue family | Oranges |
| Lightness | medium-light (75%) |
| Chroma | vivid (0.146) |
| Temperature | warm |
| Nearest name | Goldenrod (#DAA520) |
| Black text | 9.26:1 |
| White text | 2.26:1 |
Values
| HEX | #DFA126 |
| RGB | rgb(223, 161, 38) |
| HSL | hsl(40, 74%, 51%) |
| OKLCH | oklch(75% 0.146 78.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 #DFA126 | 2.26:1 | Fails | Lc -49.3 | Large or bold text, headings |
| Black text on #DFA126 | 9.26:1 | AAA | Lc 59.5 | Large or bold text, headings |
| #DFA126 text on white | 2.26:1 | Fails | Lc 44.4 | Non-text elements, placeholder text |
| #DFA126 text on black | 9.26:1 | AAA | Lc -57.7 | 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
#ECD6B4
oklch(88.6% 0.051 78.7)
-
Step 300
300
#E1BA7C
oklch(80.9% 0.091 78.5)
-
Step 400
400 (this color)
#DFA126
oklch(75% 0.146 78.7)
-
Step 500
500
#B47E00
oklch(63.1% 0.131 78.5)
-
Step 600
600
#976A00
oklch(55.7% 0.116 79.3)
-
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
#583C00
oklch(37.8% 0.079 79.1)
-
Step 950
950
#352200
oklch(26.9% 0.056 77.8)
#DFA126 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) | #B9A301 | 0.065 |
| Deuteranopia (no green cones) | #C7B22C | 0.054 |
| Tritanopia (no blue cones) | #F38F8A | 0.126 |
| Achromatopsia (no color) | #ACACAC | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DFA126
#DFA126
oklch(75% 0.146 78.7)
- #7AAFFF
#7AAFFF
oklch(75% 0.129 258.4)
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 #DFA126, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Goldenrod #DAA520 ΔE 0.014
- Gamboge #EE9B00 ΔE 0.026
- Burnt Yellow #D5AB09 ΔE 0.033
- Yellow Ochre #CB9D06 ΔE 0.038
- Squash #F2AB15 ΔE 0.042
- Earth Yellow #DDA15E ΔE 0.043
- Ocre #C69C04 ΔE 0.046
- Desert #CCAD60 ΔE 0.048
Use #DFA126 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.