#FFFF7F

Closest named color: Banana (#FFFF7E). oklch(97.5% 0.15 108.9), rgb(255, 255, 127).

Aa

Black text reads best on this color (19.86:1).

About this color

#FFFF7F is a very light, vivid yellow. In OKLCH its lightness is 97%, its chroma 0.150 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Banana (#FFFF7E), ΔE 0.001 away. Black text reads best on it, at 19.86:1.

Hue familyYellows
Lightnessvery light (97%)
Chromavivid (0.150)
Temperaturewarm
Nearest nameBanana (#FFFF7E)
Black text19.86:1
White text1.05:1

Values

HEX#FFFF7F
RGBrgb(255, 255, 127)
HSLhsl(60, 100%, 75%)
OKLCHoklch(97.5% 0.15 108.9)

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 #FFFF7F 1.05:1 Fails Lc 0.0 Not readable
Black text on #FFFF7F 19.86:1 AAA Lc 102.2 Preferred for body text
#FFFF7F text on white 1.05:1 Fails Lc 0.0 Not readable
#FFFF7F text on black 19.86:1 AAA Lc -103.7 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)

    #FFFF7F

    oklch(97.5% 0.15 108.9)

  2. Step 100

    100

    #ECEEC3

    oklch(93.7% 0.056 109.6)

  3. Step 200

    200

    #DEDF8A

    oklch(88.4% 0.107 109)

  4. Step 300

    300

    #CBC800

    oklch(80.9% 0.175 108.7)

  5. Step 400

    400

    #A9A700

    oklch(70.7% 0.153 108.9)

  6. Step 500

    500

    #918F00

    oklch(63.1% 0.137 108.8)

  7. Step 600

    600

    #7A7800

    oklch(55.6% 0.12 108.6)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535200

    oklch(42.6% 0.092 108.9)

  10. Step 900

    900

    #454400

    oklch(37.5% 0.081 108.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#FFFF7F 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)#FFF6730.022
Deuteranopia (no green cones)#FFFB860.014
Tritanopia (no blue cones)#FFF1E20.132
Achromatopsia (no color)#F9F9F90.150

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #FFFF7F

    #FFFF7F

    oklch(97.5% 0.15 108.9)

  • #F6F6FF

    #F6F6FF

    oklch(97.6% 0.012 286.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FFFF7F

    #FFFF7F

    oklch(97.5% 0.15 108.9)

  • #FFF5E7

    #FFF5E7

    oklch(97.4% 0.021 76.5)

  • #E7FFE1

    #E7FFE1

    oklch(97.5% 0.047 139.4)

Open the analogous palette in the generator

Split complementary

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

  • #FFFF7F

    #FFFF7F

    oklch(97.5% 0.15 108.9)

  • #F2F7FF

    #F2F7FF

    oklch(97.5% 0.012 259.8)

  • #FCF3FF

    #FCF3FF

    oklch(97.5% 0.018 317.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FFFF7F

    #FFFF7F

    oklch(97.5% 0.15 108.9)

  • #EDF9FF

    #EDF9FF

    oklch(97.5% 0.015 229)

  • #FFF3F8

    #FFF3F8

    oklch(97.5% 0.014 350.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FFFF7F

    #FFFF7F

    oklch(97.5% 0.15 108.9)

  • #DFFEFF

    #DFFEFF

    oklch(97.5% 0.032 199)

  • #F6F6FF

    #F6F6FF

    oklch(97.6% 0.012 286.2)

  • #FFF4F3

    #FFF4F3

    oklch(97.5% 0.012 23.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #FFFF7F, closest first.

No curated palette has a color within ΔE 0.04 of #FFFF7F.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

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