#F2CD58

Closest named color: Maize (#F4D054). oklch(85.9% 0.14 91.6), rgb(242, 205, 88).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (86%)
Chromavivid (0.140)
Temperaturewarm
Nearest nameMaize (#F4D054)
Black text13.64:1
White text1.53:1

Values

HEX#F2CD58
RGBrgb(242, 205, 88)
HSLhsl(46, 86%, 65%)
OKLCHoklch(85.9% 0.14 91.6)

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 #F2CD58 1.53:1 Fails Lc -28.0 Dividers and decoration only
Black text on #F2CD58 13.64:1 AAA Lc 79.0 Fine for body text
#F2CD58 text on white 1.53:1 Fails Lc 24.8 Dividers and decoration only
#F2CD58 text on black 13.64:1 AAA Lc -78.4 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

    #FBF5E4

    oklch(97% 0.023 90.7)

  2. Step 100

    100

    #F6E9C3

    oklch(93.5% 0.052 91.4)

  3. Step 200

    200 (this color)

    #F2CD58

    oklch(85.9% 0.14 91.6)

  4. Step 300

    300

    #E8BB00

    oklch(80.9% 0.165 91.2)

  5. Step 400

    400

    #C19C00

    oklch(70.6% 0.144 91.7)

  6. Step 500

    500

    #A68600

    oklch(63.2% 0.129 91.9)

  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

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #514000

    oklch(37.9% 0.077 91.7)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#F2CD58 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)#E2CA4B0.028
Deuteranopia (no green cones)#EBD55D0.021
Tritanopia (no blue cones)#FFBEB40.125
Achromatopsia (no color)#D0D0D00.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2CD58

    #F2CD58

    oklch(85.9% 0.14 91.6)

  • #C0CFFF

    #C0CFFF

    oklch(85.9% 0.069 271.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2CD58

    #F2CD58

    oklch(85.9% 0.14 91.6)

  • #FFC28F

    #FFC28F

    oklch(85.8% 0.096 60.9)

  • #C2DF71

    #C2DF71

    oklch(85.9% 0.141 121.6)

Open the analogous palette in the generator

Split complementary

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

  • #F2CD58

    #F2CD58

    oklch(85.9% 0.14 91.6)

  • #A4D8FF

    #A4D8FF

    oklch(86% 0.077 241.2)

  • #DAC4FF

    #DAC4FF

    oklch(85.8% 0.084 301.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2CD58

    #F2CD58

    oklch(85.9% 0.14 91.6)

  • #5AE6FF

    #5AE6FF

    oklch(85.9% 0.124 211.5)

  • #FFB3F4

    #FFB3F4

    oklch(85.8% 0.12 331.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2CD58

    #F2CD58

    oklch(85.9% 0.14 91.6)

  • #42EED7

    #42EED7

    oklch(85.8% 0.14 181.8)

  • #C0CFFF

    #C0CFFF

    oklch(85.9% 0.069 271.3)

  • #FFBBCD

    #FFBBCD

    oklch(85.9% 0.081 1.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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