#FFE795

Closest named color: Khaki (#F0E68C). oklch(93% 0.105 93.7), rgb(255, 231, 149).

Aa

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

About this color

#FFE795 is a very light, moderately saturated yellow. In OKLCH its lightness is 93%, its chroma 0.105 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.025 away. Black text reads best on it, at 17.11:1.

Hue familyYellows
Lightnessvery light (93%)
Chromamoderately saturated (0.105)
Temperaturewarm
Nearest nameKhaki (#F0E68C)
Black text17.11:1
White text1.22:1

Values

HEX#FFE795
RGBrgb(255, 231, 149)
HSLhsl(46, 100%, 79%)
OKLCHoklch(93% 0.105 93.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #FFE795 1.22:1 Fails Lc -13.0 Not readable
Black text on #FFE795 17.11:1 AAA Lc 92.4 Preferred for body text
#FFE795 text on white 1.22:1 Fails Lc 11.2 Not readable
#FFE795 text on black 17.11:1 AAA Lc -92.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.

  1. Step 50

    50

    #F9F6E8

    oklch(97.2% 0.019 96.9)

  2. Step 100

    100 (this color)

    #FFE795

    oklch(93% 0.105 93.7)

  3. Step 200

    200

    #E9D9A1

    oklch(88.5% 0.075 94)

  4. Step 300

    300

    #DEBE4D

    oklch(80.8% 0.135 93.2)

  5. Step 400

    400

    #BF9D00

    oklch(70.6% 0.145 93.3)

  6. Step 500

    500

    #A48700

    oklch(63.2% 0.129 93.7)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #2F2500

    oklch(26.8% 0.055 93.5)

Export this scale for Tailwind in the Tailwind colors tool

#FFE795 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)#F7E48F0.015
Deuteranopia (no green cones)#FDEB980.010
Tritanopia (no blue cones)#FFDBD30.093
Achromatopsia (no color)#E8E8E80.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #FFE795

    #FFE795

    oklch(93% 0.105 93.7)

  • #E0E7FF

    #E0E7FF

    oklch(93% 0.033 272.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FFE795

    #FFE795

    oklch(93% 0.105 93.7)

  • #FFE2C8

    #FFE2C8

    oklch(93% 0.047 64.1)

  • #D9F4A6

    #D9F4A6

    oklch(92.9% 0.104 123.9)

Open the analogous palette in the generator

Split complementary

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

  • #FFE795

    #FFE795

    oklch(93% 0.105 93.7)

  • #D4EBFF

    #D4EBFF

    oklch(92.9% 0.037 244.4)

  • #EDE2FF

    #EDE2FF

    oklch(93% 0.041 302.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FFE795

    #FFE795

    oklch(93% 0.105 93.7)

  • #BDF2FF

    #BDF2FF

    oklch(92.9% 0.057 214.4)

  • #FFDBF7

    #FFDBF7

    oklch(93% 0.054 333.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FFE795

    #FFE795

    oklch(93% 0.105 93.7)

  • #91FFEF

    #91FFEF

    oklch(93% 0.105 183.6)

  • #E0E7FF

    #E0E7FF

    oklch(93% 0.033 272.8)

  • #FFDEE5

    #FFDEE5

    oklch(93% 0.038 3.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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