#FBE487

Closest named color: Khaki (#F0E68C). oklch(91.8% 0.116 95.9), rgb(251, 228, 135).

Aa

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

About this color

#FBE487 is a very light, moderately saturated yellow. In OKLCH its lightness is 92%, its chroma 0.116 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.015 away. Black text reads best on it, at 16.54:1.

Hue familyYellows
Lightnessvery light (92%)
Chromamoderately saturated (0.116)
Temperaturewarm
Nearest nameKhaki (#F0E68C)
Black text16.54:1
White text1.26:1

Values

HEX#FBE487
RGBrgb(251, 228, 135)
HSLhsl(48, 94%, 76%)
OKLCHoklch(91.8% 0.116 95.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 #FBE487 1.26:1 Fails Lc -15.3 Dividers and decoration only
Black text on #FBE487 16.54:1 AAA Lc 90.3 Preferred for body text
#FBE487 text on white 1.26:1 Fails Lc 13.3 Not readable
#FBE487 text on black 16.54:1 AAA Lc -90.6 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

    #F9F6E7

    oklch(97.1% 0.02 97.5)

  2. Step 100

    100 (this color)

    #FBE487

    oklch(91.8% 0.116 95.9)

  3. Step 200

    200

    #E9DA9A

    oklch(88.6% 0.084 96.5)

  4. Step 300

    300

    #DEBF38

    oklch(80.9% 0.149 95.6)

  5. Step 400

    400

    #BC9F00

    oklch(70.7% 0.145 95.9)

  6. Step 500

    500

    #A18800

    oklch(63.1% 0.13 96)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#FBE487 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)#F5E07F0.015
Deuteranopia (no green cones)#FBE88B0.010
Tritanopia (no blue cones)#FFD7CE0.104
Achromatopsia (no color)#E4E4E40.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #FBE487

    #FBE487

    oklch(91.8% 0.116 95.9)

  • #DCE2FF

    #DCE2FF

    oklch(91.7% 0.04 276.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FBE487

    #FBE487

    oklch(91.8% 0.116 95.9)

  • #FFDDBD

    #FFDDBD

    oklch(91.8% 0.057 65.3)

  • #D1F29C

    #D1F29C

    oklch(91.8% 0.116 125.7)

Open the analogous palette in the generator

Split complementary

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

  • #FBE487

    #FBE487

    oklch(91.8% 0.116 95.9)

  • #CEE8FF

    #CEE8FF

    oklch(91.9% 0.042 245)

  • #ECDCFF

    #ECDCFF

    oklch(91.8% 0.05 306)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FBE487

    #FBE487

    oklch(91.8% 0.116 95.9)

  • #B4EFFF

    #B4EFFF

    oklch(91.7% 0.063 216.3)

  • #FFD5F4

    #FFD5F4

    oklch(91.8% 0.062 335.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FBE487

    #FBE487

    oklch(91.8% 0.116 95.9)

  • #7DFDEF

    #7DFDEF

    oklch(91.7% 0.116 185.9)

  • #DCE2FF

    #DCE2FF

    oklch(91.7% 0.04 276.3)

  • #FFD9DF

    #FFD9DF

    oklch(91.9% 0.043 7.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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