#F2CA4C

Closest named color: Maize (#F4D054). oklch(85.2% 0.147 91.1), rgb(242, 202, 76).

Aa

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

About this color

#F2CA4C is a light, vivid yellow. In OKLCH its lightness is 85%, its chroma 0.147 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Maize (#F4D054), ΔE 0.015 away. Black text reads best on it, at 13.32:1.

Hue familyYellows
Lightnesslight (85%)
Chromavivid (0.147)
Temperaturewarm
Nearest nameMaize (#F4D054)
Black text13.32:1
White text1.57:1

Values

HEX#F2CA4C
RGBrgb(242, 202, 76)
HSLhsl(46, 86%, 62%)
OKLCHoklch(85.2% 0.147 91.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 #F2CA4C 1.57:1 Fails Lc -29.5 Dividers and decoration only
Black text on #F2CA4C 13.32:1 AAA Lc 77.7 Fine for body text
#F2CA4C text on white 1.57:1 Fails Lc 26.1 Dividers and decoration only
#F2CA4C text on black 13.32:1 AAA Lc -77.0 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

    #FCF5E3

    oklch(97.1% 0.025 89.2)

  2. Step 100

    100

    #F7E9C1

    oklch(93.5% 0.054 91)

  3. Step 200

    200 (this color)

    #F2CA4C

    oklch(85.2% 0.147 91.1)

  4. Step 300

    300

    #E8BB00

    oklch(80.9% 0.165 91.2)

  5. Step 400

    400

    #C29C00

    oklch(70.7% 0.145 91.2)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765E00

    oklch(49.2% 0.101 91.4)

  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

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#F2CA4C 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)#E0C73B0.032
Deuteranopia (no green cones)#E9D3520.024
Tritanopia (no blue cones)#FFBAB00.132
Achromatopsia (no color)#CECECE0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2CA4C

    #F2CA4C

    oklch(85.2% 0.147 91.1)

  • #BCCCFF

    #BCCCFF

    oklch(85% 0.074 271.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2CA4C

    #F2CA4C

    oklch(85.2% 0.147 91.1)

  • #FFBF89

    #FFBF89

    oklch(85.1% 0.101 61)

  • #C0DD68

    #C0DD68

    oklch(85.2% 0.147 121.2)

Open the analogous palette in the generator

Split complementary

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

  • #F2CA4C

    #F2CA4C

    oklch(85.2% 0.147 91.1)

  • #9ED6FF

    #9ED6FF

    oklch(85.2% 0.081 240.6)

  • #D8C2FF

    #D8C2FF

    oklch(85.3% 0.087 301.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2CA4C

    #F2CA4C

    oklch(85.2% 0.147 91.1)

  • #47E5FF

    #47E5FF

    oklch(85.2% 0.132 211)

  • #FFAFF5

    #FFAFF5

    oklch(85.2% 0.128 331.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2CA4C

    #F2CA4C

    oklch(85.2% 0.147 91.1)

  • #2CEDD4

    #2CEDD4

    oklch(85.2% 0.147 181.2)

  • #BCCCFF

    #BCCCFF

    oklch(85% 0.074 271.2)

  • #FFB7CB

    #FFB7CB

    oklch(85.2% 0.087 0.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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