#F0C04C

Closest named color: Maximum Yellow Red (#FCBF49). oklch(83% 0.141 86), rgb(240, 192, 76).

Aa

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

About this color

#F0C04C is a light, vivid orange. In OKLCH its lightness is 83%, its chroma 0.141 and its hue 86°. Its hue sits on the warm side of the wheel. The nearest named color is Maximum Yellow Red (#FCBF49), ΔE 0.018 away. Black text reads best on it, at 12.34:1.

Hue familyOranges
Lightnesslight (83%)
Chromavivid (0.141)
Temperaturewarm
Nearest nameMaximum Yellow Red (#FCBF49)
Black text12.34:1
White text1.70:1

Values

HEX#F0C04C
RGBrgb(240, 192, 76)
HSLhsl(42, 85%, 62%)
OKLCHoklch(83% 0.141 86)

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 #F0C04C 1.70:1 Fails Lc -34.0 Non-text elements, placeholder text
Black text on #F0C04C 12.34:1 AAA Lc 73.6 Content text, not long reading
#F0C04C text on white 1.70:1 Fails Lc 30.2 Non-text elements, placeholder text
#F0C04C text on black 12.34:1 AAA Lc -72.6 Content text, not long reading

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 300.

  1. Step 50

    50

    #FBF5E8

    oklch(97.1% 0.018 86.1)

  2. Step 100

    100

    #F6E9CC

    oklch(93.7% 0.041 86.7)

  3. Step 200

    200

    #F0D69D

    oklch(88.4% 0.079 86.2)

  4. Step 300

    300 (this color)

    #F0C04C

    oklch(83% 0.141 86)

  5. Step 400

    400

    #C89800

    oklch(70.6% 0.144 85.9)

  6. Step 500

    500

    #AC8200

    oklch(63% 0.129 85.7)

  7. Step 600

    600

    #916D00

    oklch(55.6% 0.114 85.6)

  8. Step 700

    700

    #7A5C00

    oklch(49.2% 0.101 86.4)

  9. Step 800

    800

    #644B00

    oklch(42.8% 0.087 86.6)

  10. Step 900

    900

    #543E00

    oklch(37.8% 0.077 85.9)

  11. Step 950

    950

    #322400

    oklch(27% 0.055 86.6)

Export this scale for Tailwind in the Tailwind colors tool

#F0C04C 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)#D6BF3D0.043
Deuteranopia (no green cones)#E2CC510.034
Tritanopia (no blue cones)#FFB0A80.125
Achromatopsia (no color)#C6C6C60.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0C04C

    #F0C04C

    oklch(83% 0.141 86)

  • #AEC7FF

    #AEC7FF

    oklch(83.1% 0.084 265.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0C04C

    #F0C04C

    oklch(83% 0.141 86)

  • #FFB47F

    #FFB47F

    oklch(82.9% 0.111 55.8)

  • #C3D25F

    #C3D25F

    oklch(82.9% 0.141 115.7)

Open the analogous palette in the generator

Split complementary

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

  • #F0C04C

    #F0C04C

    oklch(83% 0.141 86)

  • #86D2FF

    #86D2FF

    oklch(83.1% 0.098 235.7)

  • #CCBBFF

    #CCBBFF

    oklch(83% 0.096 295.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0C04C

    #F0C04C

    oklch(83% 0.141 86)

  • #09E1F4

    #09E1F4

    oklch(83.1% 0.141 205.7)

  • #F7A6F8

    #F7A6F8

    oklch(83% 0.141 326.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0C04C

    #F0C04C

    oklch(83% 0.141 86)

  • #3EE5C4

    #3EE5C4

    oklch(83% 0.141 176)

  • #AEC7FF

    #AEC7FF

    oklch(83.1% 0.084 265.9)

  • #FFAAC9

    #FFAAC9

    oklch(82.9% 0.106 356.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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