#F0D474

Closest named color: Sandy (#F1DA7A). oklch(87.4% 0.12 93.5), rgb(240, 212, 116).

Aa

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

About this color

#F0D474 is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.120 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Sandy (#F1DA7A), ΔE 0.015 away. Black text reads best on it, at 14.37:1.

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.120)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text14.37:1
White text1.46:1

Values

HEX#F0D474
RGBrgb(240, 212, 116)
HSLhsl(46, 81%, 70%)
OKLCHoklch(87.4% 0.12 93.5)

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 #F0D474 1.46:1 Fails Lc -24.8 Dividers and decoration only
Black text on #F0D474 14.37:1 AAA Lc 81.9 Fine for body text
#F0D474 text on white 1.46:1 Fails Lc 21.8 Dividers and decoration only
#F0D474 text on black 14.37:1 AAA Lc -81.5 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

    #FAF6E6

    oklch(97.2% 0.021 95.3)

  2. Step 100

    100

    #F4EAC9

    oklch(93.6% 0.045 93.1)

  3. Step 200

    200 (this color)

    #F0D474

    oklch(87.4% 0.12 93.5)

  4. Step 300

    300

    #E2BD2D

    oklch(80.8% 0.154 93.4)

  5. Step 400

    400

    #BF9D00

    oklch(70.6% 0.145 93.3)

  6. Step 500

    500

    #A48700

    oklch(63.2% 0.129 93.7)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#F0D474 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)#E6D16C0.019
Deuteranopia (no green cones)#EDD9780.012
Tritanopia (no blue cones)#FFC7BE0.110
Achromatopsia (no color)#D5D5D50.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0D474

    #F0D474

    oklch(87.4% 0.12 93.5)

  • #C8D3FF

    #C8D3FF

    oklch(87.3% 0.062 274)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0D474

    #F0D474

    oklch(87.4% 0.12 93.5)

  • #FFCA99

    #FFCA99

    oklch(87.4% 0.088 64)

  • #C6E388

    #C6E388

    oklch(87.4% 0.121 123.3)

Open the analogous palette in the generator

Split complementary

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

  • #F0D474

    #F0D474

    oklch(87.4% 0.12 93.5)

  • #B0DBFF

    #B0DBFF

    oklch(87.3% 0.067 243.9)

  • #E0CAFF

    #E0CAFF

    oklch(87.4% 0.076 303.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0D474

    #F0D474

    oklch(87.4% 0.12 93.5)

  • #7CE8FF

    #7CE8FF

    oklch(87.5% 0.104 213.3)

  • #FFBDF2

    #FFBDF2

    oklch(87.5% 0.101 333.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0D474

    #F0D474

    oklch(87.4% 0.12 93.5)

  • #6AEFDE

    #6AEFDE

    oklch(87.3% 0.12 184)

  • #C8D3FF

    #C8D3FF

    oklch(87.3% 0.062 274)

  • #FFC3D0

    #FFC3D0

    oklch(87.4% 0.07 4.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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