#ECF268#ECF268
#ECF268 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.0% C 0.160 H 111.4°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF268 |
|---|---|
| RGB | rgb(236, 242, 104) |
| HSL | hsl(63, 84%, 68%) |
| HSV | hsv(63, 57%, 95%) |
| CMYK | cmyk(2.5%, 0%, 57%, 5.1%) |
| CIE-LAB | lab(92.72, -19.60, 64.40) |
| CIE-LCH | lch(92.72, 67.32, 106.93°) |
| OKLab | oklab(93.05% -0.0583 0.1486) |
| OKLCH | oklch(93.05% 0.16 111.4) |
| XYZ | xyz(68.8446, 82.3381, 25.3603) |
| Luminance | 0.8234 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 3.13
Yellowish Tan
#FCFC81
ΔE00 3.13
Custard
#FFFD78
ΔE00 3.16
Pastel Yellow
#FFFE71
ΔE00 3.17
Light Yellow
#FFFE7A
ΔE00 3.20
Straw
#FCF679
ΔE00 3.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF268 #6E68F2
analogous
#F2B368 #ECF268 #A7F268
triadic
#ECF268 #68ECF2 #F268EC
tetradic
#ECF268 #68F2B3 #6E68F2 #F268A7
square
#ECF268 #68F2B3 #6E68F2 #F268A7
split-complementary
#ECF268 #68A7F2 #B368F2
monochromatic
#C6CE12 #E5ED30 #ECF268 #F3F7A0 #FAFCD9
Accessibility & contrast
On white
1.20
#ECF268 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.47
#ECF268 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF268
17.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF268 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF268 | 1.00 | 1.20 | 17.47 | 17.47 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE859
Deuteranopia (green-blind)
#FFEC70
Tritanopia (blue-blind)
#FAE5D4
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #ecf268; /* rgb */ color: rgb(236, 242, 104); /* oklch */ color: oklch(93.0% 0.160 111.4);
Tailwind
colors: {
custom: {
50: '#f5f698',
500: '#ecf268',
950: '#000000',
},
}SCSS
$custom: #ecf268; $custom-light: #f5f698; $custom-dark: #000000;
JSON
{
"hex": "#ecf268",
"rgb": {
"r": 236,
"g": 242,
"b": 104
},
"hsl": {
"h": 62.609,
"s": 84.146,
"l": 67.843
},
"oklch": {
"l": 0.9305,
"c": 0.15968,
"h": 111.4
},
"luminance": 0.82337
}Semantic roles & 50–950 ramp
primary
#ECF268
secondary
#3B34CA
accent
#05E10E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F