#FFFE40
Named color: Canary Yellow. oklch(96.8% 0.194 109.2), rgb(255, 254, 64).
Aa
Black text reads best on this color (19.50:1).
About this color
#FFFE40 is a very light, vivid yellow. In OKLCH its lightness is 97%, its chroma 0.194 and its hue 109°. Its hue sits on the warm side of the wheel. It is the named color Canary Yellow. Black text reads best on it, at 19.50:1.
| Hue family | Yellows |
| Lightness | very light (97%) |
| Chroma | vivid (0.194) |
| Temperature | warm |
| Nearest name | Canary Yellow |
| Black text | 19.50:1 |
| White text | 1.07:1 |
Values
| HEX | #FFFE40 |
| RGB | rgb(255, 254, 64) |
| HSL | hsl(60, 100%, 63%) |
| OKLCH | oklch(96.8% 0.194 109.2) |
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 #FFFE40 | 1.07:1 | Fails | Lc 0.0 | Not readable |
| Black text on #FFFE40 | 19.50:1 | AAA | Lc 101.1 | Preferred for body text |
| #FFFE40 text on white | 1.07:1 | Fails | Lc 0.0 | Not readable |
| #FFFE40 text on black | 19.50:1 | AAA | Lc -102.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 50.
-
Step 50
50 (this color)
#FFFE40
oklch(96.8% 0.194 109.2)
-
Step 100
100
#EDEFB7
oklch(93.7% 0.072 109.4)
-
Step 200
200
#E0E16D
oklch(88.6% 0.139 109.4)
-
Step 300
300
#CAC900
oklch(81% 0.176 109.4)
-
Step 400
400
#A9A700
oklch(70.7% 0.153 108.9)
-
Step 500
500
#908F00
oklch(63% 0.137 109.3)
-
Step 600
600
#797800
oklch(55.5% 0.121 109.2)
-
Step 700
700
#666500
oklch(49.1% 0.107 109.1)
-
Step 800
800
#535300
oklch(42.8% 0.093 109.8)
-
Step 900
900
#454500
oklch(37.8% 0.082 109.8)
-
Step 950
950
#292800
oklch(26.9% 0.058 108.3)
#FFFE40 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) | #FFF308 | 0.027 |
| Deuteranopia (no green cones) | #FFF950 | 0.017 |
| Tritanopia (no blue cones) | #FFEEDB | 0.171 |
| Achromatopsia (no color) | #F6F6F6 | 0.194 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #FFFE40
#FFFE40
oklch(96.8% 0.194 109.2)
- #F4F3FF
#F4F3FF
oklch(96.8% 0.016 289.9)
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 #FFFE40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sunshine Yellow #FFFD37 ΔE 0.004
- Lemon Yellow #FDFF38 ΔE 0.006
- Banana Yellow #FAFE4B ΔE 0.008
- Lemon #FDFF52 ΔE 0.009
- Sunny Yellow #FFF917 ΔE 0.016
- Bright Yellow #FFFD01 ΔE 0.016
- Yellow #FFFF00 ΔE 0.017
- Canary #FDFF63 ΔE 0.020
Use #FFFE40 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.