#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 familyYellows
Lightnessvery light (97%)
Chromavivid (0.194)
Temperaturewarm
Nearest nameCanary Yellow
Black text19.50:1
White text1.07:1

Values

HEX#FFFE40
RGBrgb(255, 254, 64)
HSLhsl(60, 100%, 63%)
OKLCHoklch(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.

PairWCAG 2ResultAPCAAPCA 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.

  1. Step 50

    50 (this color)

    #FFFE40

    oklch(96.8% 0.194 109.2)

  2. Step 100

    100

    #EDEFB7

    oklch(93.7% 0.072 109.4)

  3. Step 200

    200

    #E0E16D

    oklch(88.6% 0.139 109.4)

  4. Step 300

    300

    #CAC900

    oklch(81% 0.176 109.4)

  5. Step 400

    400

    #A9A700

    oklch(70.7% 0.153 108.9)

  6. Step 500

    500

    #908F00

    oklch(63% 0.137 109.3)

  7. Step 600

    600

    #797800

    oklch(55.5% 0.121 109.2)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535300

    oklch(42.8% 0.093 109.8)

  10. Step 900

    900

    #454500

    oklch(37.8% 0.082 109.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#FFF3080.027
Deuteranopia (no green cones)#FFF9500.017
Tritanopia (no blue cones)#FFEEDB0.171
Achromatopsia (no color)#F6F6F60.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)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FFFE40

    #FFFE40

    oklch(96.8% 0.194 109.2)

  • #FFF3DF

    #FFF3DF

    oklch(96.8% 0.029 80.7)

  • #E0FFD8

    #E0FFD8

    oklch(96.8% 0.061 139.3)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #FFFE40

    #FFFE40

    oklch(96.8% 0.194 109.2)

  • #EEF5FF

    #EEF5FF

    oklch(96.8% 0.015 257.2)

  • #FCEFFF

    #FCEFFF

    oklch(96.7% 0.025 319.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FFFE40

    #FFFE40

    oklch(96.8% 0.194 109.2)

  • #E8F7FF

    #E8F7FF

    oklch(96.7% 0.019 230.7)

  • #FFEFF6

    #FFEFF6

    oklch(96.7% 0.019 349.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FFFE40

    #FFFE40

    oklch(96.8% 0.194 109.2)

  • #D5FEFF

    #D5FEFF

    oklch(96.9% 0.042 198.3)

  • #F4F3FF

    #F4F3FF

    oklch(96.8% 0.016 289.9)

  • #FFF0F0

    #FFF0F0

    oklch(96.7% 0.016 17.4)

Open the square palette in the generator

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.

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.