#F8CD4C

Closest named color: Maize (#F4D054). oklch(86.3% 0.15 90.1), rgb(248, 205, 76).

Aa

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

About this color

#F8CD4C is a light, vivid yellow. In OKLCH its lightness is 86%, its chroma 0.150 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Maize (#F4D054), ΔE 0.009 away. Black text reads best on it, at 13.82:1.

Hue familyYellows
Lightnesslight (86%)
Chromavivid (0.150)
Temperaturewarm
Nearest nameMaize (#F4D054)
Black text13.82:1
White text1.51:1

Values

HEX#F8CD4C
RGBrgb(248, 205, 76)
HSLhsl(45, 92%, 64%)
OKLCHoklch(86.3% 0.15 90.1)

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 #F8CD4C 1.51:1 Fails Lc -27.2 Dividers and decoration only
Black text on #F8CD4C 13.82:1 AAA Lc 79.8 Fine for body text
#F8CD4C text on white 1.51:1 Fails Lc 24.0 Dividers and decoration only
#F8CD4C text on black 13.82:1 AAA Lc -79.2 Fine 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 200.

  1. Step 50

    50

    #FCF5E2

    oklch(97.1% 0.026 90.1)

  2. Step 100

    100

    #F8E9C0

    oklch(93.6% 0.056 90.3)

  3. Step 200

    200 (this color)

    #F8CD4C

    oklch(86.3% 0.15 90.1)

  4. Step 300

    300

    #EABA00

    oklch(80.9% 0.165 89.9)

  5. Step 400

    400

    #C39B00

    oklch(70.6% 0.144 90.2)

  6. Step 500

    500

    #A88500

    oklch(63.2% 0.129 90)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#F8CD4C 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)#E3CB3A0.036
Deuteranopia (no green cones)#EED7520.027
Tritanopia (no blue cones)#FFBCB30.134
Achromatopsia (no color)#D2D2D20.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #F8CD4C

    #F8CD4C

    oklch(86.3% 0.15 90.1)

  • #C1D1FF

    #C1D1FF

    oklch(86.4% 0.066 270)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F8CD4C

    #F8CD4C

    oklch(86.3% 0.15 90.1)

  • #FFC495

    #FFC495

    oklch(86.3% 0.091 59.7)

  • #C5E068

    #C5E068

    oklch(86.2% 0.149 120.2)

Open the analogous palette in the generator

Split complementary

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

  • #F8CD4C

    #F8CD4C

    oklch(86.3% 0.15 90.1)

  • #A5D9FF

    #A5D9FF

    oklch(86.2% 0.076 240.4)

  • #DAC7FF

    #DAC7FF

    oklch(86.4% 0.079 300.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F8CD4C

    #F8CD4C

    oklch(86.3% 0.15 90.1)

  • #5AE8FF

    #5AE8FF

    oklch(86.3% 0.124 210.1)

  • #FFB5F7

    #FFB5F7

    oklch(86.3% 0.12 330.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F8CD4C

    #F8CD4C

    oklch(86.3% 0.15 90.1)

  • #2DF2D6

    #2DF2D6

    oklch(86.4% 0.15 179.9)

  • #C1D1FF

    #C1D1FF

    oklch(86.4% 0.066 270)

  • #FFBDD0

    #FFBDD0

    oklch(86.4% 0.079 360)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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