#ECF45F#ECF45F
#ECF45F is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.4% C 0.169 H 112.1°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF45F |
|---|---|
| RGB | rgb(236, 244, 95) |
| HSL | hsl(63, 87%, 66%) |
| HSV | hsv(63, 61%, 96%) |
| CMYK | cmyk(3.3%, 0%, 61.1%, 4.3%) |
| CIE-LAB | lab(93.17, -21.18, 68.64) |
| CIE-LCH | lch(93.17, 71.83, 107.15°) |
| OKLab | oklab(93.38% -0.0637 0.1565) |
| OKLCH | oklch(93.38% 0.169 112.1) |
| XYZ | xyz(69.0102, 83.3620, 23.2794) |
| Luminance | 0.8336 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 2.91
Pastel Yellow
#FFFE71
ΔE00 3.13
Off Yellow
#F1F33F
ΔE00 3.16
Butter Yellow
#FFFD74
ΔE00 3.25
Custard
#FFFD78
ΔE00 3.41
Light Yellow
#FFFE7A
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF45F #675FF4
analogous
#F4B15F #ECF45F #A2F45F
triadic
#ECF45F #5FECF4 #F45FEC
tetradic
#ECF45F #5FF4B1 #675FF4 #F45FA2
square
#ECF45F #5FF4B1 #675FF4 #F45FA2
split-complementary
#ECF45F #5FA2F4 #B15FF4
monochromatic
#C1CB0E #E5F026 #ECF45F #F3F898 #FAFCD2
Accessibility & contrast
On white
1.19
#ECF45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.67
#ECF45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF45F
17.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF45F | 1.00 | 1.19 | 17.67 | 17.67 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE94D
Deuteranopia (green-blind)
#FFED68
Tritanopia (blue-blind)
#FBE6D5
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #ecf45f; /* rgb */ color: rgb(236, 244, 95); /* oklch */ color: oklch(93.4% 0.169 112.1);
Tailwind
colors: {
custom: {
50: '#f5f793',
500: '#ecf45f',
950: '#000000',
},
}SCSS
$custom: #ecf45f; $custom-light: #f5f793; $custom-dark: #000000;
JSON
{
"hex": "#ecf45f",
"rgb": {
"r": 236,
"g": 244,
"b": 95
},
"hsl": {
"h": 63.221,
"s": 87.135,
"l": 66.471
},
"oklch": {
"l": 0.93384,
"c": 0.16896,
"h": 112.1
},
"luminance": 0.8336
}Semantic roles & 50–950 ramp
primary
#ECF45F
secondary
#3830C7
accent
#02E40E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F