#F2F04D
Closest named color: Off Yellow (#F1F33F). oklch(92.9% 0.176 108.7), rgb(242, 240, 77).
Aa
Black text reads best on this color (17.34:1).
About this color
#F2F04D is a very light, vivid yellow. In OKLCH its lightness is 93%, its chroma 0.176 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Off Yellow (#F1F33F), ΔE 0.013 away. Black text reads best on it, at 17.34:1.
| Hue family | Yellows |
| Lightness | very light (93%) |
| Chroma | vivid (0.176) |
| Temperature | warm |
| Nearest name | Off Yellow (#F1F33F) |
| Black text | 17.34:1 |
| White text | 1.21:1 |
Values
| HEX | #F2F04D |
| RGB | rgb(242, 240, 77) |
| HSL | hsl(59, 86%, 63%) |
| OKLCH | oklch(92.9% 0.176 108.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 #F2F04D | 1.21:1 | Fails | Lc -11.9 | Not readable |
| Black text on #F2F04D | 17.34:1 | AAA | Lc 93.3 | Preferred for body text |
| #F2F04D text on white | 1.21:1 | Fails | Lc 10.2 | Not readable |
| #F2F04D text on black | 17.34:1 | AAA | Lc -93.9 | 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
#F7F8E0
oklch(97.2% 0.031 108.9)
-
Step 100
100 (this color)
#F2F04D
oklch(92.9% 0.176 108.7)
-
Step 200
200
#E0E079
oklch(88.5% 0.126 108.7)
-
Step 300
300
#CBC800
oklch(80.9% 0.175 108.7)
-
Step 400
400
#A9A700
oklch(70.7% 0.153 108.9)
-
Step 500
500
#918F00
oklch(63.1% 0.137 108.8)
-
Step 600
600
#7A7800
oklch(55.6% 0.12 108.6)
-
Step 700
700
#666500
oklch(49.1% 0.107 109.1)
-
Step 800
800
#545200
oklch(42.7% 0.092 108.1)
-
Step 900
900
#464400
oklch(37.6% 0.081 107.8)
-
Step 950
950
#292800
oklch(26.9% 0.058 108.3)
#F2F04D 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) | #FFE633 | 0.027 |
| Deuteranopia (no green cones) | #FFEC59 | 0.024 |
| Tritanopia (no blue cones) | #FFE1D0 | 0.158 |
| Achromatopsia (no color) | #E9E9E9 | 0.176 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #F2F04D
#F2F04D
oklch(92.9% 0.176 108.7)
- #E6E4FF
#E6E4FF
oklch(92.9% 0.036 289.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes and gradients that use #F2F04D
These curated palettes and gradients contain exactly #F2F04D. Open one to see the full color scheme around it.
Gradients
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Off Yellow #F1F33F ΔE 0.013
- Sandy Yellow #FDEE73 ΔE 0.037
- Sunny Yellow #FFF917 ΔE 0.038
- Banana Yellow #FAFE4B ΔE 0.038
- Straw #FCF679 ΔE 0.039
- Lemon #FDFF52 ΔE 0.042
- Sun Yellow #FFDF22 ΔE 0.042
- Canary #FDFF63 ΔE 0.042
Use #F2F04D 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.