#EFD981
Closest named color: Sandy (#F1DA7A). oklch(88.5% 0.111 95.7), rgb(239, 217, 129).
Aa
Black text reads best on this color (14.91:1).
About this color
#EFD981 is a light, moderately saturated yellow. In OKLCH its lightness is 88%, its chroma 0.111 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Sandy (#F1DA7A), ΔE 0.009 away. Black text reads best on it, at 14.91:1.
| Hue family | Yellows |
| Lightness | light (88%) |
| Chroma | moderately saturated (0.111) |
| Temperature | warm |
| Nearest name | Sandy (#F1DA7A) |
| Black text | 14.91:1 |
| White text | 1.40:1 |
Values
| HEX | #EFD981 |
| RGB | rgb(239, 217, 129) |
| HSL | hsl(48, 77%, 72%) |
| OKLCH | oklch(88.5% 0.111 95.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 #EFD981 | 1.40:1 | Fails | Lc -22.4 | Dividers and decoration only |
| Black text on #EFD981 | 14.91:1 | AAA | Lc 84.0 | Fine for body text |
| #EFD981 text on white | 1.40:1 | Fails | Lc 19.7 | Dividers and decoration only |
| #EFD981 text on black | 14.91:1 | AAA | Lc -83.8 | Fine for body text |
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 200.
-
Step 50
50
#F9F6E7
oklch(97.1% 0.02 97.5)
-
Step 100
100
#F2EACC
oklch(93.6% 0.04 94.7)
-
Step 200
200 (this color)
#EFD981
oklch(88.5% 0.111 95.7)
-
Step 300
300
#DCBF43
oklch(80.8% 0.142 95.7)
-
Step 400
400
#BC9F00
oklch(70.7% 0.145 95.9)
-
Step 500
500
#A18800
oklch(63.1% 0.13 96)
-
Step 600
600
#887200
oklch(55.6% 0.114 95.6)
-
Step 700
700
#726000
oklch(49.2% 0.101 96.3)
-
Step 800
800
#5E4E00
oklch(42.8% 0.088 95.4)
-
Step 900
900
#4E4100
oklch(37.8% 0.078 96.2)
-
Step 950
950
#2F2600
oklch(27.1% 0.056 95.5)
#EFD981 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) | #E9D57A | 0.015 |
| Deuteranopia (no green cones) | #EFDC84 | 0.007 |
| Tritanopia (no blue cones) | #FECDC4 | 0.102 |
| Achromatopsia (no color) | #D9D9D9 | 0.111 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #EFD981
#EFD981
oklch(88.5% 0.111 95.7)
- #CED7FF
#CED7FF
oklch(88.5% 0.056 275.2)
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 #EFD981, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sandy #F1DA7A ΔE 0.009
- Light Gold #F3DE8A ΔE 0.016
- Light Mustard #F7D560 ΔE 0.030
- Sunglow #FFD166 ΔE 0.032
- Khaki #F0E68C ΔE 0.032
- Pale Gold #FDDE6C ΔE 0.033
- Dull Yellow #EEDC5B ΔE 0.039
- Maize #F4D054 ΔE 0.039
Use #EFD981 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.