#F6E998

Closest named color: Khaki (#F0E68C). oklch(92.6% 0.102 100.3), rgb(246, 233, 152).

Aa

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

About this color

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

Hue familyYellows
Lightnessvery light (93%)
Chromamoderately saturated (0.102)
Temperaturewarm
Nearest nameKhaki (#F0E68C)
Black text17.02:1
White text1.23:1

Values

HEX#F6E998
RGBrgb(246, 233, 152)
HSLhsl(52, 84%, 78%)
OKLCHoklch(92.6% 0.102 100.3)

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 #F6E998 1.23:1 Fails Lc -13.3 Not readable
Black text on #F6E998 17.02:1 AAA Lc 92.1 Preferred for body text
#F6E998 text on white 1.23:1 Fails Lc 11.5 Not readable
#F6E998 text on black 17.02:1 AAA Lc -92.5 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

    #F8F6E9

    oklch(97.1% 0.017 99.6)

  2. Step 100

    100 (this color)

    #F6E998

    oklch(92.6% 0.102 100.3)

  3. Step 200

    200

    #E4DBA3

    oklch(88.5% 0.073 100)

  4. Step 300

    300

    #D4C254

    oklch(80.8% 0.131 100.1)

  5. Step 400

    400

    #B6A200

    oklch(70.8% 0.147 100.5)

  6. Step 500

    500

    #9C8A00

    oklch(63% 0.131 100.1)

  7. Step 600

    600

    #837400

    oklch(55.6% 0.116 100.3)

  8. Step 700

    700

    #6E6100

    oklch(49% 0.102 100.2)

  9. Step 800

    800

    #5A4F00

    oklch(42.5% 0.088 100.1)

  10. Step 900

    900

    #4B4200

    oklch(37.7% 0.078 100.6)

  11. Step 950

    950

    #2D2700

    oklch(27.1% 0.056 100.5)

Export this scale for Tailwind in the Tailwind colors tool

#F6E998 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)#F7E4920.012
Deuteranopia (no green cones)#FBEA9B0.008
Tritanopia (no blue cones)#FFDED50.092
Achromatopsia (no color)#E7E7E70.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #F6E998

    #F6E998

    oklch(92.6% 0.102 100.3)

  • #E1E5FF

    #E1E5FF

    oklch(92.7% 0.036 278.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F6E998

    #F6E998

    oklch(92.6% 0.102 100.3)

  • #FFE1C0

    #FFE1C0

    oklch(92.6% 0.055 69.7)

  • #D0F5AD

    #D0F5AD

    oklch(92.6% 0.102 130.3)

Open the analogous palette in the generator

Split complementary

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

  • #F6E998

    #F6E998

    oklch(92.6% 0.102 100.3)

  • #D5E9FF

    #D5E9FF

    oklch(92.6% 0.037 250.8)

  • #F1DEFF

    #F1DEFF

    oklch(92.6% 0.048 311)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F6E998

    #F6E998

    oklch(92.6% 0.102 100.3)

  • #C1F0FF

    #C1F0FF

    oklch(92.7% 0.052 219.2)

  • #FFDAF1

    #FFDAF1

    oklch(92.6% 0.051 340.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F6E998

    #F6E998

    oklch(92.6% 0.102 100.3)

  • #8FFDF6

    #8FFDF6

    oklch(92.6% 0.102 190.2)

  • #E1E5FF

    #E1E5FF

    oklch(92.7% 0.036 278.7)

  • #FFDDE1

    #FFDDE1

    oklch(92.7% 0.038 9.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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