#F2E97E
Closest named color: Khaki (#F0E68C). oklch(91.9% 0.129 104.4), rgb(242, 233, 126).
Aa
Black text reads best on this color (16.73:1).
About this color
#F2E97E is a very light, moderately saturated yellow. In OKLCH its lightness is 92%, its chroma 0.129 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.019 away. Black text reads best on it, at 16.73:1.
| Hue family | Yellows |
| Lightness | very light (92%) |
| Chroma | moderately saturated (0.129) |
| Temperature | warm |
| Nearest name | Khaki (#F0E68C) |
| Black text | 16.73:1 |
| White text | 1.25:1 |
Values
| HEX | #F2E97E |
| RGB | rgb(242, 233, 126) |
| HSL | hsl(55, 82%, 72%) |
| OKLCH | oklch(91.9% 0.129 104.4) |
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 #F2E97E | 1.25:1 | Fails | Lc -14.6 | Not readable |
| Black text on #F2E97E | 16.73:1 | AAA | Lc 91.0 | Preferred for body text |
| #F2E97E text on white | 1.25:1 | Fails | Lc 12.6 | Not readable |
| #F2E97E text on black | 16.73:1 | AAA | Lc -91.4 | 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
#F7F7E6
oklch(97.2% 0.022 106.8)
-
Step 100
100 (this color)
#F2E97E
oklch(91.9% 0.129 104.4)
-
Step 200
200
#E2DD95
oklch(88.5% 0.092 104.7)
-
Step 300
300
#D2C51A
oklch(80.9% 0.167 104.6)
-
Step 400
400
#B0A400
oklch(70.6% 0.149 104.3)
-
Step 500
500
#978D00
oklch(63.2% 0.134 104.6)
-
Step 600
600
#7F7600
oklch(55.6% 0.118 104.3)
-
Step 700
700
#6B6300
oklch(49.2% 0.104 104)
-
Step 800
800
#575100
oklch(42.7% 0.09 104.7)
-
Step 900
900
#494300
oklch(37.7% 0.08 103.8)
-
Step 950
950
#2B2700
oklch(26.9% 0.057 103.7)
#F2E97E 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) | #F9E275 | 0.018 |
| Deuteranopia (no green cones) | #FDE883 | 0.017 |
| Tritanopia (no blue cones) | #FFDDD0 | 0.116 |
| Achromatopsia (no color) | #E5E5E5 | 0.129 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #F2E97E
#F2E97E
oklch(91.9% 0.129 104.4)
- #E1E1FF
#E1E1FF
oklch(91.9% 0.041 285.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 #F2E97E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Khaki #F0E68C ΔE 0.019
- Yellow Tan #FFE36E ΔE 0.022
- Sandy Yellow #FDEE73 ΔE 0.024
- Sand Yellow #FCE166 ΔE 0.025
- Pale Gold #FDDE6C ΔE 0.029
- Light Gold #F3DE8A ΔE 0.035
- Sandy #F1DA7A ΔE 0.038
- Light Khaki #E6F2A2 ΔE 0.038
Use #F2E97E 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.