#F2E881
Closest named color: Khaki (#F0E68C). oklch(91.8% 0.125 103.7), rgb(242, 232, 129).
Aa
Black text reads best on this color (16.63:1).
About this color
#F2E881 is a very light, moderately saturated yellow. In OKLCH its lightness is 92%, its chroma 0.125 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.014 away. Black text reads best on it, at 16.63:1.
| Hue family | Yellows |
| Lightness | very light (92%) |
| Chroma | moderately saturated (0.125) |
| Temperature | warm |
| Nearest name | Khaki (#F0E68C) |
| Black text | 16.63:1 |
| White text | 1.26:1 |
Values
| HEX | #F2E881 |
| RGB | rgb(242, 232, 129) |
| HSL | hsl(55, 81%, 73%) |
| OKLCH | oklch(91.8% 0.125 103.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 #F2E881 | 1.26:1 | Fails | Lc -15.0 | Not readable |
| Black text on #F2E881 | 16.63:1 | AAA | Lc 90.6 | Preferred for body text |
| #F2E881 text on white | 1.26:1 | Fails | Lc 13.0 | Not readable |
| #F2E881 text on black | 16.63:1 | AAA | Lc -91.0 | Preferred 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 100.
-
Step 50
50
#F8F6E6
oklch(97% 0.021 101)
-
Step 100
100 (this color)
#F2E881
oklch(91.8% 0.125 103.7)
-
Step 200
200
#E3DD97
oklch(88.6% 0.09 103.9)
-
Step 300
300
#D3C428
oklch(80.8% 0.161 103.5)
-
Step 400
400
#B1A400
oklch(70.7% 0.149 103.9)
-
Step 500
500
#988C00
oklch(63.1% 0.133 103.5)
-
Step 600
600
#807600
oklch(55.7% 0.117 103.6)
-
Step 700
700
#6B6300
oklch(49.2% 0.104 104)
-
Step 800
800
#585100
oklch(42.8% 0.09 103.8)
-
Step 900
900
#494300
oklch(37.7% 0.08 103.8)
-
Step 950
950
#2B2700
oklch(26.9% 0.057 103.7)
#F2E881 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) | #F8E278 | 0.016 |
| Deuteranopia (no green cones) | #FCE786 | 0.016 |
| Tritanopia (no blue cones) | #FFDCD0 | 0.113 |
| Achromatopsia (no color) | #E5E5E5 | 0.125 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #F2E881
#F2E881
oklch(91.8% 0.125 103.7)
- #E0E1FF
#E0E1FF
oklch(91.8% 0.041 284)
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 #F2E881, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Khaki #F0E68C ΔE 0.014
- Yellow Tan #FFE36E ΔE 0.023
- Sand Yellow #FCE166 ΔE 0.026
- Sandy Yellow #FDEE73 ΔE 0.027
- Pale Gold #FDDE6C ΔE 0.028
- Light Gold #F3DE8A ΔE 0.030
- Sandy #F1DA7A ΔE 0.035
- Light Khaki #E6F2A2 ΔE 0.036
Use #F2E881 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.