#ECF46B#ECF46B
#ECF46B is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.5% C 0.159 H 112.2°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF46B |
|---|---|
| RGB | rgb(236, 244, 107) |
| HSL | hsl(64, 86%, 69%) |
| HSV | hsv(64, 56%, 96%) |
| CMYK | cmyk(3.3%, 0%, 56.1%, 4.3%) |
| CIE-LAB | lab(93.28, -20.35, 63.73) |
| CIE-LCH | lch(93.28, 66.90, 107.71°) |
| OKLab | oklab(93.5% -0.0601 0.1475) |
| OKLCH | oklch(93.5% 0.159 112.2) |
| XYZ | xyz(69.5982, 83.5972, 26.3766) |
| Luminance | 0.8360 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 3.00
Faded Yellow
#FEFF7F
ΔE00 3.09
Light Yellow
#FFFE7A
ΔE00 3.13
Custard
#FFFD78
ΔE00 3.15
Butter Yellow
#FFFD74
ΔE00 3.16
Pastel Yellow
#FFFE71
ΔE00 3.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF46B #736BF4
analogous
#F4B86B #ECF46B #A8F46B
triadic
#ECF46B #6BECF4 #F46BEC
tetradic
#ECF46B #6BF4B8 #736BF4 #F46BA8
square
#ECF46B #6BF4B8 #736BF4 #F46BA8
split-complementary
#ECF46B #6BA8F4 #B86BF4
monochromatic
#C9D510 #E5F032 #ECF46B #F3F8A4 #FBFCDD
Accessibility & contrast
On white
1.19
#ECF46B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.72
#ECF46B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF46B
17.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF46B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF46B | 1.00 | 1.19 | 17.72 | 17.72 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA5C
Deuteranopia (green-blind)
#FFED73
Tritanopia (blue-blind)
#FAE7D6
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #ecf46b; /* rgb */ color: rgb(236, 244, 107); /* oklch */ color: oklch(93.5% 0.159 112.2);
Tailwind
colors: {
custom: {
50: '#f5f79a',
500: '#ecf46b',
950: '#000000',
},
}SCSS
$custom: #ecf46b; $custom-light: #f5f79a; $custom-dark: #000000;
JSON
{
"hex": "#ecf46b",
"rgb": {
"r": 236,
"g": 244,
"b": 107
},
"hsl": {
"h": 63.504,
"s": 86.164,
"l": 68.824
},
"oklch": {
"l": 0.93499,
"c": 0.15934,
"h": 112.2
},
"luminance": 0.83596
}Semantic roles & 50–950 ramp
primary
#ECF46B
secondary
#3F36CD
accent
#03E310
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F