#ECE104
Closest named color: Dandelion (#FEDF08). oklch(89% 0.189 106.1), rgb(236, 225, 4).
Aa
Black text reads best on this color (15.33:1).
About this color
#ECE104 is a light, vivid yellow. In OKLCH its lightness is 89%, its chroma 0.189 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Dandelion (#FEDF08), ΔE 0.026 away. Black text reads best on it, at 15.33:1.
| Hue family | Yellows |
| Lightness | light (89%) |
| Chroma | vivid (0.189) |
| Temperature | warm |
| Nearest name | Dandelion (#FEDF08) |
| Black text | 15.33:1 |
| White text | 1.36:1 |
Values
| HEX | #ECE104 |
| RGB | rgb(236, 225, 4) |
| HSL | hsl(57, 97%, 47%) |
| OKLCH | oklch(89% 0.189 106.1) |
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 #ECE104 | 1.36:1 | Fails | Lc -20.4 | Dividers and decoration only |
| Black text on #ECE104 | 15.33:1 | AAA | Lc 85.9 | Fine for body text |
| #ECE104 text on white | 1.36:1 | Fails | Lc 17.8 | Dividers and decoration only |
| #ECE104 text on black | 15.33:1 | AAA | Lc -85.8 | 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
#F8F7DF
oklch(97.1% 0.031 105)
-
Step 100
100
#EFEEB7
oklch(93.7% 0.071 106.8)
-
Step 200
200 (this color)
#ECE104
oklch(89% 0.189 106.1)
-
Step 300
300
#D0C600
oklch(80.9% 0.172 106)
-
Step 400
400
#AEA500
oklch(70.7% 0.151 105.7)
-
Step 500
500
#958D00
oklch(63% 0.134 105.6)
-
Step 600
600
#7D7700
oklch(55.7% 0.119 106.2)
-
Step 700
700
#696400
oklch(49.2% 0.105 106.3)
-
Step 800
800
#565100
oklch(42.6% 0.091 105.5)
-
Step 900
900
#474400
oklch(37.7% 0.081 106.8)
-
Step 950
950
#2A2800
oklch(27% 0.058 106.8)
#ECE104 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) | #F6D800 | 0.026 |
| Deuteranopia (no green cones) | #FADF2A | 0.024 |
| Tritanopia (no blue cones) | #FED1C0 | 0.173 |
| Achromatopsia (no color) | #DCDCDC | 0.189 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #ECE104
#ECE104
oklch(89% 0.189 106.1)
- #D7D6FF
#D7D6FF
oklch(89% 0.056 286.3)
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 #ECE104, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dandelion #FEDF08 ΔE 0.026
- Sun Yellow #FFDF22 ΔE 0.030
- Sunflower Yellow #FFDA03 ΔE 0.031
- Gold #FFD700 ΔE 0.036
- Dull Yellow #EEDC5B ΔE 0.043
- Off Yellow #F1F33F ΔE 0.046
- Sand Yellow #FCE166 ΔE 0.055
- Light Mustard #F7D560 ΔE 0.062
Use #ECE104 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.