#F0D04B
Closest named color: Maize (#F4D054). oklch(86.2% 0.151 95.4), rgb(240, 208, 75).
Aa
Black text reads best on this color (13.82:1).
About this color
#F0D04B is a light, vivid yellow. In OKLCH its lightness is 86%, its chroma 0.151 and its hue 95°. 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.82:1.
| Hue family | Yellows |
| Lightness | light (86%) |
| Chroma | vivid (0.151) |
| Temperature | warm |
| Nearest name | Maize (#F4D054) |
| Black text | 13.82:1 |
| White text | 1.51:1 |
Values
| HEX | #F0D04B |
| RGB | rgb(240, 208, 75) |
| HSL | hsl(48, 85%, 62%) |
| OKLCH | oklch(86.2% 0.151 95.4) |
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 #F0D04B | 1.51:1 | Fails | Lc -27.2 | Dividers and decoration only |
| Black text on #F0D04B | 13.82:1 | AAA | Lc 79.8 | Fine for body text |
| #F0D04B text on white | 1.51:1 | Fails | Lc 24.0 | Dividers and decoration only |
| #F0D04B text on black | 13.82:1 | AAA | Lc -79.2 | 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
#FBF6E2
oklch(97.2% 0.027 95.3)
-
Step 100
100
#F5EAC0
oklch(93.5% 0.056 95.1)
-
Step 200
200 (this color)
#F0D04B
oklch(86.2% 0.151 95.4)
-
Step 300
300
#E2BE00
oklch(80.9% 0.166 95.2)
-
Step 400
400
#BD9F00
oklch(70.8% 0.146 95.4)
-
Step 500
500
#A28800
oklch(63.2% 0.13 95.4)
-
Step 600
600
#887200
oklch(55.6% 0.114 95.6)
-
Step 700
700
#725F00
oklch(49% 0.101 95.4)
-
Step 800
800
#5E4E00
oklch(42.8% 0.088 95.4)
-
Step 900
900
#4E4100
oklch(37.8% 0.078 96.2)
-
Step 950
950
#2F2600
oklch(27.1% 0.056 95.5)
#F0D04B 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) | #E5CC39 | 0.023 |
| Deuteranopia (no green cones) | #EDD652 | 0.014 |
| Tritanopia (no blue cones) | #FFC0B5 | 0.138 |
| Achromatopsia (no color) | #D2D2D2 | 0.151 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #F0D04B
#F0D04B
oklch(86.2% 0.151 95.4)
- #C4CFFF
#C4CFFF
oklch(86.2% 0.068 274.8)
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 #F0D04B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Maize #F4D054 ΔE 0.010
- Light Mustard #F7D560 ΔE 0.022
- Dull Yellow #EEDC5B ΔE 0.029
- Golden Yellow #FEC615 ΔE 0.031
- Sunflower #FFC512 ΔE 0.034
- Sunglow #FFD166 ΔE 0.034
- Gold #FFD700 ΔE 0.040
- Marigold #FCC006 ΔE 0.041
Use #F0D04B 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.