#F0CF71
Closest named color: Sunglow (#FFD166). oklch(86.3% 0.12 90.5), rgb(240, 207, 113).
Aa
Black text reads best on this color (13.86:1).
About this color
#F0CF71 is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.120 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Sunglow (#FFD166), ΔE 0.025 away. Black text reads best on it, at 13.86:1.
| Hue family | Yellows |
| Lightness | light (86%) |
| Chroma | moderately saturated (0.120) |
| Temperature | warm |
| Nearest name | Sunglow (#FFD166) |
| Black text | 13.86:1 |
| White text | 1.51:1 |
Values
| HEX | #F0CF71 |
| RGB | rgb(240, 207, 113) |
| HSL | hsl(44, 81%, 69%) |
| OKLCH | oklch(86.3% 0.12 90.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #F0CF71 | 1.51:1 | Fails | Lc -27.1 | Dividers and decoration only |
| Black text on #F0CF71 | 13.86:1 | AAA | Lc 79.9 | Fine for body text |
| #F0CF71 text on white | 1.51:1 | Fails | Lc 23.9 | Dividers and decoration only |
| #F0CF71 text on black | 13.86:1 | AAA | Lc -79.3 | 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.
-
Step 50
50
#FBF5E6
oklch(97.1% 0.021 88.7)
-
Step 100
100
#F5E9C9
oklch(93.5% 0.044 89.9)
-
Step 200
200 (this color)
#F0CF71
oklch(86.3% 0.12 90.5)
-
Step 300
300
#E6BB2E
oklch(80.8% 0.153 90.4)
-
Step 400
400
#C39B00
oklch(70.6% 0.144 90.2)
-
Step 500
500
#A78500
oklch(63.1% 0.129 90.6)
-
Step 600
600
#8D6F00
oklch(55.5% 0.113 89.9)
-
Step 700
700
#765D00
oklch(49% 0.1 90.4)
-
Step 800
800
#614C00
oklch(42.6% 0.087 90.4)
-
Step 900
900
#513F00
oklch(37.6% 0.077 90.4)
-
Step 950
950
#312500
oklch(27.1% 0.055 90.3)
#F0CF71 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #E1CC69 | 0.026 |
| Deuteranopia (no green cones) | #EAD675 | 0.018 |
| Tritanopia (no blue cones) | #FFC2B9 | 0.107 |
| Achromatopsia (no color) | #D2D2D2 | 0.120 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #F0CF71
#F0CF71
oklch(86.3% 0.12 90.5)
- #C1D1FF
#C1D1FF
oklch(86.4% 0.066 270)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #F0CF71, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sunglow #FFD166 ΔE 0.025
- Sand #E2CA76 ΔE 0.026
- Maize #F4D054 ΔE 0.026
- Light Mustard #F7D560 ΔE 0.027
- Sandy #F1DA7A ΔE 0.027
- Saffron #E9C46A ΔE 0.030
- Light Gold #F3DE8A ΔE 0.040
- Maximum Yellow Red #FCBF49 ΔE 0.043
Use #F0CF71 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.